Questions tagged [mnemonics]

138 questions
7
votes
2 answers

How to access mnemonics in Intellij 2017+ on Mac?

There is some evidence in the Intellij codebase they support ALT(/Meta)+CTL - (mnemonic) in Mac. E.g: in platform/platform-api/src/com/intellij/openapi/MnemonicWrapper.java if (SystemInfo.isMac && Registry.is("ide.mac.alt.mnemonic.without.ctrl"))…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
7
votes
3 answers

Java Swing: Can I set a button mnemonic that doesn't require pressing alt?

For example, say I have a series of toolbar-style buttons across the top of my application's main window. I want to attach a mnemonic to one of these that's just a single keypress, like F3. When you set the mnemonic to KeyEvent.VK_F3, the user has…
Electrons_Ahoy
  • 36,743
  • 36
  • 104
  • 127
7
votes
2 answers

Windows standard for mnemonics

Are there any mnemonic standards for Windows? For example -- the menu bar, actions on the menu bar (e.g. Alt+f to file menu but ctrl+s to do the save under the file menu), and controls. I'm asking because we have a search screen with many controls…
Kenny Mann
  • 881
  • 10
  • 28
7
votes
5 answers

Why is the start of a line "^" and the end of line "$"?

I never remember whether ^ matches the beginning of the line and $ matches the end of it or the other way around. A good mnemonic would be that the $ sign is always before the price, therefore it matches the beginning of a line - unfortunately it's…
laurent
  • 88,262
  • 77
  • 290
  • 428
6
votes
2 answers

How to specify mnemonics (ampersand shortcut) to QActions in a QMenu?

I'm using QActions in a QMenu, the typical | &New file Ctrl+N | | &Open file Ctrl+O | Which gets a nice context shortcut of simply N (for New File) and O (for Open File) while the menu is open. I'd like to do something similar for listing…
swalog
  • 4,403
  • 3
  • 32
  • 60
6
votes
1 answer

What does "MSL" (shift in ones) in arm64 assembly stand for?

In an assembler instruction like movi v30.2S, #0x3c, msl #0x8 msl will cause that the value 0x3cff (value is shifted left and ones are inserted at the bottom) is moved to the target but what does MSL stand for? For example LSL stands for…
rfalke
  • 451
  • 4
  • 7
6
votes
2 answers

What is the JCC instruction in x86

I only know instructions like je, jnl, etc., in x86 AT&T syntax. What does jcc actually mean? All jump instructions?
Hind Forsum
  • 9,717
  • 13
  • 63
  • 119
6
votes
3 answers

Do you have suggestions for these assembly mnemonics?

Last semester in college, my teacher in the Computer Languages class taught us the esoteric language named Whitespace. In the interest of learning the language better with a very busy schedule (midterms), I wrote an interpreter and assembler in…
Noctis Skytower
  • 21,433
  • 16
  • 79
  • 117
6
votes
2 answers

Generating easy-to-remember random identifiers

As all developers do, we constantly deal with some kind of identifiers as part of our daily work. Most of the time, it's about bugs or support tickets. Our software, upon detecting a bug, creates a package that has a name formatted from a timestamp…
Carl Seleborg
  • 13,125
  • 11
  • 58
  • 70
6
votes
1 answer

Change mnemonic modifier key in Java/Swing

Setting focus hot keys in Swing is very easy: tfldPlantsNeeded = new JTextField( FIELD_LEN_MED ); lblPlantsNeeded = new JLabel( "Plants Needed" ); lblPlantsNeeded.setDisplayedMnemonic( 'p' ); lblPlantsNeeded.setLabelFor( tfldPlantsNeeded…
Clayton
  • 1,967
  • 4
  • 18
  • 26
6
votes
4 answers

Setting Mnemonics and Hot Keys for a JOptionPane Dialog

Is it possible to assign hotkeys and mnemonics to the buttons in a JOptionPane Dialog? I'd like to be able, in a JOptionPane generated message dialog with the options Yes, No and Cancel, press Y to hit the Yes button, N to hit the No button and…
Daniel Bingham
  • 12,414
  • 18
  • 67
  • 93
5
votes
4 answers

Mnemonic tip for regex start of string/end of string metacharacters

It is well known that regular expressions are powerful. But it is also known that the syntax is a bit awkward. For example, each time I use them, I find asking myself which of ^ and $ is the start of string (respectively end of string)…
Yann Trevin
  • 3,823
  • 1
  • 30
  • 32
5
votes
1 answer

Is there a way to force mnemonic key to show out without pressing ALT?

I'm working on a WinForms app and I'd like to use Mnemonics key. It appears that due to a Windows parameter, you can choose to show them while using the application only after pressing ALT (this option is like it as default). I got aware of this…
Zoma
  • 321
  • 7
  • 20
5
votes
3 answers

How can I prevent Alt codes in a .NET app?

I have a .NET app with buttons which use numbers for mnemonics. (e.g. "&1 - Check" and "&2 - Cash") When I hit Alt+1, I expect the Check button to be clicked. This works when I use the standard number keys on a keyboard. However, when I hit Alt+1…
AndrewL
  • 3,126
  • 5
  • 31
  • 33
5
votes
2 answers

How to disable mnemonic for JavaFX MenuBar?

In my stage I have inserted a menubar at the top like usual for programs. I want to give the ALT key (together with arrow keys) some logic in another context within the stage. But everytime I press ALT and arrows I unintentionally navigate through…
Arceus
  • 520
  • 6
  • 16
1
2
3
9 10