Lines 191-196
Link Here
|
191 |
SettingsNames.STATUS_BAR_BOLD_COLORING |
191 |
SettingsNames.STATUS_BAR_BOLD_COLORING |
192 |
}; |
192 |
}; |
193 |
|
193 |
|
|
|
194 |
|
195 |
private static final int FIND_NEXT_KEY = |
196 |
System.getProperty("mrj.version") == null ? |
197 |
KeyEvent.VK_F3 : KeyEvent.VK_G; |
198 |
|
199 |
private static final int FIND_NEXT_MASK = |
200 |
System.getProperty("mrj.version") == null ? |
201 |
0 : KeyEvent.META_DOWN_MASK; |
202 |
|
203 |
//#26854 - use Command, not Ctrl, on mac |
204 |
private static final int MENU_MASK = java.awt.Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); |
205 |
|
206 |
//Default behavior on mac is that alt+arrows is word jumps |
207 |
private static final int WORD_SELECT_MASK = System.getProperty("mrj.version") == null ? |
208 |
InputEvent.CTRL_DOWN_MASK : InputEvent.ALT_DOWN_MASK; |
209 |
|
194 |
public static final MultiKeyBinding[] defaultKeyBindings |
210 |
public static final MultiKeyBinding[] defaultKeyBindings |
195 |
= new MultiKeyBinding[] { |
211 |
= new MultiKeyBinding[] { |
196 |
new MultiKeyBinding( |
212 |
new MultiKeyBinding( |
Lines 202-208
Link Here
|
202 |
BaseKit.insertBreakAction |
218 |
BaseKit.insertBreakAction |
203 |
), |
219 |
), |
204 |
new MultiKeyBinding( |
220 |
new MultiKeyBinding( |
205 |
KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, InputEvent.CTRL_MASK), |
221 |
KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, MENU_MASK), |
206 |
BaseKit.splitLineAction |
222 |
BaseKit.splitLineAction |
207 |
), |
223 |
), |
208 |
new MultiKeyBinding( |
224 |
new MultiKeyBinding( |
Lines 234-240
Link Here
|
234 |
BaseKit.deletePrevCharAction |
250 |
BaseKit.deletePrevCharAction |
235 |
), |
251 |
), |
236 |
/* new MultiKeyBinding( |
252 |
/* new MultiKeyBinding( |
237 |
KeyStroke.getKeyStroke(KeyEvent.VK_H, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
253 |
KeyStroke.getKeyStroke(KeyEvent.VK_H, MENU_MASK | InputEvent.SHIFT_MASK), |
238 |
BaseKit.deletePrevCharAction |
254 |
BaseKit.deletePrevCharAction |
239 |
), |
255 |
), |
240 |
*/ new MultiKeyBinding( |
256 |
*/ new MultiKeyBinding( |
Lines 254-264
Link Here
|
254 |
BaseKit.selectionForwardAction |
270 |
BaseKit.selectionForwardAction |
255 |
), |
271 |
), |
256 |
new MultiKeyBinding( |
272 |
new MultiKeyBinding( |
257 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.CTRL_MASK), |
273 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, WORD_SELECT_MASK), |
258 |
BaseKit.nextWordAction |
274 |
BaseKit.nextWordAction |
259 |
), |
275 |
), |
260 |
new MultiKeyBinding( |
276 |
new MultiKeyBinding( |
261 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
277 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_MASK | WORD_SELECT_MASK), |
262 |
BaseKit.selectionNextWordAction |
278 |
BaseKit.selectionNextWordAction |
263 |
), |
279 |
), |
264 |
new MultiKeyBinding( |
280 |
new MultiKeyBinding( |
Lines 270-284
Link Here
|
270 |
BaseKit.backwardAction |
286 |
BaseKit.backwardAction |
271 |
), |
287 |
), |
272 |
new MultiKeyBinding( |
288 |
new MultiKeyBinding( |
273 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK), |
289 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, WORD_SELECT_MASK), |
274 |
BaseKit.selectionBackwardAction |
290 |
BaseKit.selectionBackwardAction |
275 |
), |
291 |
), |
276 |
new MultiKeyBinding( |
292 |
new MultiKeyBinding( |
277 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.CTRL_MASK), |
293 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, WORD_SELECT_MASK), |
278 |
BaseKit.previousWordAction |
294 |
BaseKit.previousWordAction |
279 |
), |
295 |
), |
280 |
new MultiKeyBinding( |
296 |
new MultiKeyBinding( |
281 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
297 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK | MENU_MASK), |
282 |
BaseKit.selectionPreviousWordAction |
298 |
BaseKit.selectionPreviousWordAction |
283 |
), |
299 |
), |
284 |
new MultiKeyBinding( |
300 |
new MultiKeyBinding( |
Lines 294-300
Link Here
|
294 |
BaseKit.selectionDownAction |
310 |
BaseKit.selectionDownAction |
295 |
), |
311 |
), |
296 |
new MultiKeyBinding( |
312 |
new MultiKeyBinding( |
297 |
KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.CTRL_MASK), |
313 |
KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, MENU_MASK), |
298 |
BaseKit.scrollUpAction |
314 |
BaseKit.scrollUpAction |
299 |
), |
315 |
), |
300 |
new MultiKeyBinding( |
316 |
new MultiKeyBinding( |
Lines 310-316
Link Here
|
310 |
BaseKit.selectionUpAction |
326 |
BaseKit.selectionUpAction |
311 |
), |
327 |
), |
312 |
new MultiKeyBinding( |
328 |
new MultiKeyBinding( |
313 |
KeyStroke.getKeyStroke(KeyEvent.VK_UP, InputEvent.CTRL_MASK), |
329 |
KeyStroke.getKeyStroke(KeyEvent.VK_UP, MENU_MASK), |
314 |
BaseKit.scrollDownAction |
330 |
BaseKit.scrollDownAction |
315 |
), |
331 |
), |
316 |
new MultiKeyBinding( |
332 |
new MultiKeyBinding( |
Lines 338-348
Link Here
|
338 |
BaseKit.selectionBeginLineAction |
354 |
BaseKit.selectionBeginLineAction |
339 |
), |
355 |
), |
340 |
new MultiKeyBinding( |
356 |
new MultiKeyBinding( |
341 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, InputEvent.CTRL_MASK), |
357 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, MENU_MASK), |
342 |
BaseKit.beginAction |
358 |
BaseKit.beginAction |
343 |
), |
359 |
), |
344 |
new MultiKeyBinding( |
360 |
new MultiKeyBinding( |
345 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
361 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, InputEvent.SHIFT_MASK | MENU_MASK), |
346 |
BaseKit.selectionBeginAction |
362 |
BaseKit.selectionBeginAction |
347 |
), |
363 |
), |
348 |
new MultiKeyBinding( |
364 |
new MultiKeyBinding( |
Lines 354-374
Link Here
|
354 |
BaseKit.selectionEndLineAction |
370 |
BaseKit.selectionEndLineAction |
355 |
), |
371 |
), |
356 |
new MultiKeyBinding( |
372 |
new MultiKeyBinding( |
357 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, InputEvent.CTRL_MASK), |
373 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, MENU_MASK), |
358 |
BaseKit.endAction |
374 |
BaseKit.endAction |
359 |
), |
375 |
), |
360 |
new MultiKeyBinding( |
376 |
new MultiKeyBinding( |
361 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
377 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, InputEvent.SHIFT_MASK | MENU_MASK), |
362 |
BaseKit.selectionEndAction |
378 |
BaseKit.selectionEndAction |
363 |
), |
379 |
), |
364 |
|
380 |
|
365 |
// clipboard bindings |
381 |
// clipboard bindings |
366 |
new MultiKeyBinding( |
382 |
new MultiKeyBinding( |
367 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK), |
383 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, MENU_MASK), |
368 |
BaseKit.copyAction |
384 |
BaseKit.copyAction |
369 |
), |
385 |
), |
370 |
new MultiKeyBinding( |
386 |
new MultiKeyBinding( |
371 |
KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, InputEvent.CTRL_MASK), |
387 |
KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, MENU_MASK), |
372 |
BaseKit.copyAction |
388 |
BaseKit.copyAction |
373 |
), |
389 |
), |
374 |
new MultiKeyBinding( |
390 |
new MultiKeyBinding( |
Lines 380-386
Link Here
|
380 |
BaseKit.cutAction |
396 |
BaseKit.cutAction |
381 |
), |
397 |
), |
382 |
new MultiKeyBinding( |
398 |
new MultiKeyBinding( |
383 |
KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_MASK), |
399 |
KeyStroke.getKeyStroke(KeyEvent.VK_X, MENU_MASK), |
384 |
BaseKit.cutAction |
400 |
BaseKit.cutAction |
385 |
), |
401 |
), |
386 |
new MultiKeyBinding( |
402 |
new MultiKeyBinding( |
Lines 388-394
Link Here
|
388 |
BaseKit.cutAction |
404 |
BaseKit.cutAction |
389 |
), |
405 |
), |
390 |
new MultiKeyBinding( |
406 |
new MultiKeyBinding( |
391 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_MASK), |
407 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, MENU_MASK), |
392 |
BaseKit.pasteAction |
408 |
BaseKit.pasteAction |
393 |
), |
409 |
), |
394 |
new MultiKeyBinding( |
410 |
new MultiKeyBinding( |
Lines 400-412
Link Here
|
400 |
BaseKit.pasteAction |
416 |
BaseKit.pasteAction |
401 |
), |
417 |
), |
402 |
new MultiKeyBinding( |
418 |
new MultiKeyBinding( |
403 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
419 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, MENU_MASK | InputEvent.SHIFT_MASK), |
404 |
BaseKit.pasteFormatedAction |
420 |
BaseKit.pasteFormatedAction |
405 |
), |
421 |
), |
406 |
|
422 |
|
407 |
// undo and redo bindings - handled at system level |
423 |
// undo and redo bindings - handled at system level |
408 |
new MultiKeyBinding( |
424 |
new MultiKeyBinding( |
409 |
KeyStroke.getKeyStroke(KeyEvent.VK_Z, InputEvent.CTRL_MASK), |
425 |
KeyStroke.getKeyStroke(KeyEvent.VK_Z, MENU_MASK), |
410 |
BaseKit.undoAction |
426 |
BaseKit.undoAction |
411 |
), |
427 |
), |
412 |
new MultiKeyBinding( |
428 |
new MultiKeyBinding( |
Lines 414-426
Link Here
|
414 |
BaseKit.undoAction |
430 |
BaseKit.undoAction |
415 |
), |
431 |
), |
416 |
new MultiKeyBinding( |
432 |
new MultiKeyBinding( |
417 |
KeyStroke.getKeyStroke(KeyEvent.VK_Y, InputEvent.CTRL_MASK), |
433 |
KeyStroke.getKeyStroke(KeyEvent.VK_Y, MENU_MASK), |
418 |
BaseKit.redoAction |
434 |
BaseKit.redoAction |
419 |
), |
435 |
), |
420 |
|
436 |
|
421 |
// other bindings |
437 |
// other bindings |
422 |
new MultiKeyBinding( |
438 |
new MultiKeyBinding( |
423 |
KeyStroke.getKeyStroke(KeyEvent.VK_A, InputEvent.CTRL_MASK), |
439 |
KeyStroke.getKeyStroke(KeyEvent.VK_A, MENU_MASK), |
424 |
BaseKit.selectAllAction |
440 |
BaseKit.selectAllAction |
425 |
), |
441 |
), |
426 |
new MultiKeyBinding( |
442 |
new MultiKeyBinding( |
Lines 431-445
Link Here
|
431 |
BaseKit.endWordAction |
447 |
BaseKit.endWordAction |
432 |
), |
448 |
), |
433 |
new MultiKeyBinding( |
449 |
new MultiKeyBinding( |
434 |
KeyStroke.getKeyStroke(KeyEvent.VK_W, InputEvent.CTRL_MASK), |
450 |
KeyStroke.getKeyStroke(KeyEvent.VK_W, MENU_MASK), |
435 |
BaseKit.removeWordAction |
451 |
BaseKit.removeWordAction |
436 |
), |
452 |
), |
437 |
new MultiKeyBinding( |
453 |
new MultiKeyBinding( |
438 |
KeyStroke.getKeyStroke(KeyEvent.VK_U, InputEvent.CTRL_MASK), |
454 |
KeyStroke.getKeyStroke(KeyEvent.VK_U, MENU_MASK), |
439 |
BaseKit.removeLineBeginAction |
455 |
BaseKit.removeLineBeginAction |
440 |
), |
456 |
), |
441 |
new MultiKeyBinding( |
457 |
new MultiKeyBinding( |
442 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, InputEvent.CTRL_MASK), |
458 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, MENU_MASK), |
443 |
BaseKit.removeLineAction |
459 |
BaseKit.removeLineAction |
444 |
), |
460 |
), |
445 |
new MultiKeyBinding( |
461 |
new MultiKeyBinding( |
Lines 447-453
Link Here
|
447 |
BaseKit.toggleTypingModeAction |
463 |
BaseKit.toggleTypingModeAction |
448 |
), |
464 |
), |
449 |
new MultiKeyBinding( |
465 |
new MultiKeyBinding( |
450 |
KeyStroke.getKeyStroke(KeyEvent.VK_F2, InputEvent.CTRL_MASK), |
466 |
KeyStroke.getKeyStroke(KeyEvent.VK_F2, MENU_MASK), |
451 |
BaseKit.toggleBookmarkAction |
467 |
BaseKit.toggleBookmarkAction |
452 |
), |
468 |
), |
453 |
new MultiKeyBinding( |
469 |
new MultiKeyBinding( |
Lines 455-469
Link Here
|
455 |
BaseKit.gotoNextBookmarkAction |
471 |
BaseKit.gotoNextBookmarkAction |
456 |
), |
472 |
), |
457 |
new MultiKeyBinding( |
473 |
new MultiKeyBinding( |
458 |
KeyStroke.getKeyStroke(KeyEvent.VK_F3, 0), |
474 |
KeyStroke.getKeyStroke(FIND_NEXT_KEY, FIND_NEXT_MASK), |
459 |
BaseKit.findNextAction |
475 |
BaseKit.findNextAction |
460 |
), |
476 |
), |
461 |
new MultiKeyBinding( |
477 |
new MultiKeyBinding( |
462 |
KeyStroke.getKeyStroke(KeyEvent.VK_F3, InputEvent.SHIFT_MASK), |
478 |
KeyStroke.getKeyStroke(FIND_NEXT_KEY, FIND_NEXT_MASK | InputEvent.SHIFT_MASK), |
463 |
BaseKit.findPreviousAction |
479 |
BaseKit.findPreviousAction |
464 |
), |
480 |
), |
465 |
new MultiKeyBinding( |
481 |
new MultiKeyBinding( |
466 |
KeyStroke.getKeyStroke(KeyEvent.VK_F3, InputEvent.CTRL_MASK), |
482 |
KeyStroke.getKeyStroke(FIND_NEXT_KEY, FIND_NEXT_MASK | InputEvent.CTRL_MASK), |
467 |
BaseKit.findSelectionAction |
483 |
BaseKit.findSelectionAction |
468 |
), |
484 |
), |
469 |
new MultiKeyBinding( |
485 |
new MultiKeyBinding( |
Lines 471-489
Link Here
|
471 |
BaseKit.toggleHighlightSearchAction |
487 |
BaseKit.toggleHighlightSearchAction |
472 |
), |
488 |
), |
473 |
new MultiKeyBinding( |
489 |
new MultiKeyBinding( |
474 |
KeyStroke.getKeyStroke(KeyEvent.VK_L, InputEvent.CTRL_MASK), |
490 |
KeyStroke.getKeyStroke(KeyEvent.VK_L, MENU_MASK), |
475 |
BaseKit.wordMatchNextAction |
491 |
BaseKit.wordMatchNextAction |
476 |
), |
492 |
), |
477 |
new MultiKeyBinding( |
493 |
new MultiKeyBinding( |
478 |
KeyStroke.getKeyStroke(KeyEvent.VK_K, InputEvent.CTRL_MASK), |
494 |
KeyStroke.getKeyStroke(KeyEvent.VK_K, MENU_MASK), |
479 |
BaseKit.wordMatchPrevAction |
495 |
BaseKit.wordMatchPrevAction |
480 |
), |
496 |
), |
481 |
new MultiKeyBinding( |
497 |
new MultiKeyBinding( |
482 |
KeyStroke.getKeyStroke(KeyEvent.VK_T, InputEvent.CTRL_MASK), |
498 |
KeyStroke.getKeyStroke(KeyEvent.VK_T, MENU_MASK), |
483 |
BaseKit.shiftLineRightAction |
499 |
BaseKit.shiftLineRightAction |
484 |
), |
500 |
), |
485 |
new MultiKeyBinding( |
501 |
new MultiKeyBinding( |
486 |
KeyStroke.getKeyStroke(KeyEvent.VK_D, InputEvent.CTRL_MASK), |
502 |
KeyStroke.getKeyStroke(KeyEvent.VK_D, MENU_MASK), |
487 |
BaseKit.shiftLineLeftAction |
503 |
BaseKit.shiftLineLeftAction |
488 |
), |
504 |
), |
489 |
new MultiKeyBinding( |
505 |
new MultiKeyBinding( |
Lines 491-497
Link Here
|
491 |
BaseKit.abbrevResetAction |
507 |
BaseKit.abbrevResetAction |
492 |
), |
508 |
), |
493 |
new MultiKeyBinding( |
509 |
new MultiKeyBinding( |
494 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
510 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, MENU_MASK | InputEvent.SHIFT_MASK), |
495 |
BaseKit.annotationsCyclingAction |
511 |
BaseKit.annotationsCyclingAction |
496 |
), |
512 |
), |
497 |
|
513 |
|
Lines 531-537
Link Here
|
531 |
), |
547 |
), |
532 |
|
548 |
|
533 |
new MultiKeyBinding( |
549 |
new MultiKeyBinding( |
534 |
KeyStroke.getKeyStroke(KeyEvent.VK_F, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK ), |
550 |
KeyStroke.getKeyStroke(KeyEvent.VK_F, MENU_MASK | InputEvent.SHIFT_MASK ), |
535 |
BaseKit.formatAction |
551 |
BaseKit.formatAction |
536 |
), |
552 |
), |
537 |
new MultiKeyBinding( |
553 |
new MultiKeyBinding( |
Lines 577-589
Link Here
|
577 |
), |
593 |
), |
578 |
|
594 |
|
579 |
new MultiKeyBinding( |
595 |
new MultiKeyBinding( |
580 |
KeyStroke.getKeyStroke(KeyEvent.VK_M, InputEvent.CTRL_MASK), |
596 |
KeyStroke.getKeyStroke(KeyEvent.VK_M, MENU_MASK), |
581 |
BaseKit.selectNextParameterAction |
597 |
BaseKit.selectNextParameterAction |
582 |
), |
598 |
), |
583 |
|
599 |
|
584 |
new MultiKeyBinding( |
600 |
new MultiKeyBinding( |
585 |
new KeyStroke[] { |
601 |
new KeyStroke[] { |
586 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, InputEvent.CTRL_MASK), |
602 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, MENU_MASK), |
587 |
KeyStroke.getKeyStroke(KeyEvent.VK_S, 0), |
603 |
KeyStroke.getKeyStroke(KeyEvent.VK_S, 0), |
588 |
}, |
604 |
}, |
589 |
BaseKit.startMacroRecordingAction |
605 |
BaseKit.startMacroRecordingAction |
Lines 591-649
Link Here
|
591 |
|
607 |
|
592 |
new MultiKeyBinding( |
608 |
new MultiKeyBinding( |
593 |
new KeyStroke[] { |
609 |
new KeyStroke[] { |
594 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, InputEvent.CTRL_MASK), |
610 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, MENU_MASK), |
595 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, 0), |
611 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, 0), |
596 |
}, |
612 |
}, |
597 |
BaseKit.stopMacroRecordingAction |
613 |
BaseKit.stopMacroRecordingAction |
598 |
), |
614 |
), |
599 |
|
615 |
|
600 |
new MultiKeyBinding( |
616 |
new MultiKeyBinding( |
601 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, InputEvent.CTRL_MASK), |
617 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, MENU_MASK), |
602 |
BaseKit.collapseFoldAction |
618 |
BaseKit.collapseFoldAction |
603 |
), |
619 |
), |
604 |
|
620 |
|
605 |
new MultiKeyBinding( |
621 |
new MultiKeyBinding( |
606 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, InputEvent.CTRL_MASK), |
622 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, MENU_MASK), |
607 |
BaseKit.expandFoldAction |
623 |
BaseKit.expandFoldAction |
608 |
), |
624 |
), |
609 |
|
625 |
|
610 |
new MultiKeyBinding( |
626 |
new MultiKeyBinding( |
611 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
627 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, MENU_MASK | InputEvent.SHIFT_MASK), |
612 |
BaseKit.collapseAllFoldsAction |
628 |
BaseKit.collapseAllFoldsAction |
613 |
), |
629 |
), |
614 |
|
630 |
|
615 |
new MultiKeyBinding( |
631 |
new MultiKeyBinding( |
616 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
632 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, MENU_MASK | InputEvent.SHIFT_MASK), |
617 |
BaseKit.expandAllFoldsAction |
633 |
BaseKit.expandAllFoldsAction |
618 |
), |
634 |
), |
619 |
|
635 |
|
620 |
new MultiKeyBinding( |
636 |
new MultiKeyBinding( |
621 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, InputEvent.CTRL_MASK), |
637 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, MENU_MASK), |
622 |
BaseKit.collapseFoldAction |
638 |
BaseKit.collapseFoldAction |
623 |
), |
639 |
), |
624 |
|
640 |
|
625 |
new MultiKeyBinding( |
641 |
new MultiKeyBinding( |
626 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, InputEvent.CTRL_MASK), |
642 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, MENU_MASK), |
627 |
BaseKit.expandFoldAction |
643 |
BaseKit.expandFoldAction |
628 |
), |
644 |
), |
629 |
|
645 |
|
630 |
new MultiKeyBinding( |
646 |
new MultiKeyBinding( |
631 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, InputEvent.CTRL_MASK), |
647 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, MENU_MASK), |
632 |
BaseKit.expandFoldAction |
648 |
BaseKit.expandFoldAction |
633 |
), |
649 |
), |
634 |
|
650 |
|
635 |
new MultiKeyBinding( |
651 |
new MultiKeyBinding( |
636 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
652 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, MENU_MASK | InputEvent.SHIFT_MASK), |
637 |
BaseKit.collapseAllFoldsAction |
653 |
BaseKit.collapseAllFoldsAction |
638 |
), |
654 |
), |
639 |
|
655 |
|
640 |
new MultiKeyBinding( |
656 |
new MultiKeyBinding( |
641 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
657 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, MENU_MASK | InputEvent.SHIFT_MASK), |
642 |
BaseKit.expandAllFoldsAction |
658 |
BaseKit.expandAllFoldsAction |
643 |
), |
659 |
), |
644 |
|
660 |
|
645 |
new MultiKeyBinding( |
661 |
new MultiKeyBinding( |
646 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
662 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, MENU_MASK | InputEvent.SHIFT_MASK), |
647 |
BaseKit.expandAllFoldsAction |
663 |
BaseKit.expandAllFoldsAction |
648 |
), |
664 |
), |
649 |
|
665 |
|