Lines 196-201
Link Here
|
196 |
SettingsNames.STATUS_BAR_BOLD_COLORING |
196 |
SettingsNames.STATUS_BAR_BOLD_COLORING |
197 |
}; |
197 |
}; |
198 |
|
198 |
|
|
|
199 |
|
200 |
private static final int FIND_NEXT_KEY = |
201 |
System.getProperty("mrj.version") == null ? |
202 |
KeyEvent.VK_F3 : KeyEvent.VK_G; |
203 |
|
204 |
private static final int FIND_NEXT_MASK = |
205 |
System.getProperty("mrj.version") == null ? |
206 |
0 : KeyEvent.META_DOWN_MASK; |
207 |
|
208 |
//#26854 - use Command, not Ctrl, on mac |
209 |
private static final int MENU_MASK = java.awt.Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); |
210 |
|
211 |
//Default behavior on mac is that alt+arrows is word jumps |
212 |
private static final int WORD_SELECT_MASK = System.getProperty("mrj.version") == null ? |
213 |
InputEvent.CTRL_DOWN_MASK : InputEvent.ALT_DOWN_MASK; |
214 |
|
199 |
public static final MultiKeyBinding[] defaultKeyBindings |
215 |
public static final MultiKeyBinding[] defaultKeyBindings |
200 |
= new MultiKeyBinding[] { |
216 |
= new MultiKeyBinding[] { |
201 |
new MultiKeyBinding( |
217 |
new MultiKeyBinding( |
Lines 207-213
Link Here
|
207 |
BaseKit.insertBreakAction |
223 |
BaseKit.insertBreakAction |
208 |
), |
224 |
), |
209 |
new MultiKeyBinding( |
225 |
new MultiKeyBinding( |
210 |
KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, InputEvent.CTRL_MASK), |
226 |
KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, MENU_MASK), |
211 |
BaseKit.splitLineAction |
227 |
BaseKit.splitLineAction |
212 |
), |
228 |
), |
213 |
new MultiKeyBinding( |
229 |
new MultiKeyBinding( |
Lines 239-245
Link Here
|
239 |
BaseKit.deletePrevCharAction |
255 |
BaseKit.deletePrevCharAction |
240 |
), |
256 |
), |
241 |
/* new MultiKeyBinding( |
257 |
/* new MultiKeyBinding( |
242 |
KeyStroke.getKeyStroke(KeyEvent.VK_H, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
258 |
KeyStroke.getKeyStroke(KeyEvent.VK_H, MENU_MASK | InputEvent.SHIFT_MASK), |
243 |
BaseKit.deletePrevCharAction |
259 |
BaseKit.deletePrevCharAction |
244 |
), |
260 |
), |
245 |
*/ new MultiKeyBinding( |
261 |
*/ new MultiKeyBinding( |
Lines 259-269
Link Here
|
259 |
BaseKit.selectionForwardAction |
275 |
BaseKit.selectionForwardAction |
260 |
), |
276 |
), |
261 |
new MultiKeyBinding( |
277 |
new MultiKeyBinding( |
262 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.CTRL_MASK), |
278 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, WORD_SELECT_MASK), |
263 |
BaseKit.nextWordAction |
279 |
BaseKit.nextWordAction |
264 |
), |
280 |
), |
265 |
new MultiKeyBinding( |
281 |
new MultiKeyBinding( |
266 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
282 |
KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_MASK | WORD_SELECT_MASK), |
267 |
BaseKit.selectionNextWordAction |
283 |
BaseKit.selectionNextWordAction |
268 |
), |
284 |
), |
269 |
new MultiKeyBinding( |
285 |
new MultiKeyBinding( |
Lines 275-289
Link Here
|
275 |
BaseKit.backwardAction |
291 |
BaseKit.backwardAction |
276 |
), |
292 |
), |
277 |
new MultiKeyBinding( |
293 |
new MultiKeyBinding( |
278 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK), |
294 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK), |
279 |
BaseKit.selectionBackwardAction |
295 |
BaseKit.selectionBackwardAction |
280 |
), |
296 |
), |
281 |
new MultiKeyBinding( |
297 |
new MultiKeyBinding( |
282 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.CTRL_MASK), |
298 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, WORD_SELECT_MASK), |
283 |
BaseKit.previousWordAction |
299 |
BaseKit.previousWordAction |
284 |
), |
300 |
), |
285 |
new MultiKeyBinding( |
301 |
new MultiKeyBinding( |
286 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
302 |
KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_MASK | WORD_SELECT_MASK), |
287 |
BaseKit.selectionPreviousWordAction |
303 |
BaseKit.selectionPreviousWordAction |
288 |
), |
304 |
), |
289 |
new MultiKeyBinding( |
305 |
new MultiKeyBinding( |
Lines 299-305
Link Here
|
299 |
BaseKit.selectionDownAction |
315 |
BaseKit.selectionDownAction |
300 |
), |
316 |
), |
301 |
new MultiKeyBinding( |
317 |
new MultiKeyBinding( |
302 |
KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.CTRL_MASK), |
318 |
KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, MENU_MASK), |
303 |
BaseKit.scrollUpAction |
319 |
BaseKit.scrollUpAction |
304 |
), |
320 |
), |
305 |
new MultiKeyBinding( |
321 |
new MultiKeyBinding( |
Lines 315-321
Link Here
|
315 |
BaseKit.selectionUpAction |
331 |
BaseKit.selectionUpAction |
316 |
), |
332 |
), |
317 |
new MultiKeyBinding( |
333 |
new MultiKeyBinding( |
318 |
KeyStroke.getKeyStroke(KeyEvent.VK_UP, InputEvent.CTRL_MASK), |
334 |
KeyStroke.getKeyStroke(KeyEvent.VK_UP, MENU_MASK), |
319 |
BaseKit.scrollDownAction |
335 |
BaseKit.scrollDownAction |
320 |
), |
336 |
), |
321 |
new MultiKeyBinding( |
337 |
new MultiKeyBinding( |
Lines 343-353
Link Here
|
343 |
BaseKit.selectionBeginLineAction |
359 |
BaseKit.selectionBeginLineAction |
344 |
), |
360 |
), |
345 |
new MultiKeyBinding( |
361 |
new MultiKeyBinding( |
346 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, InputEvent.CTRL_MASK), |
362 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, MENU_MASK), |
347 |
BaseKit.beginAction |
363 |
BaseKit.beginAction |
348 |
), |
364 |
), |
349 |
new MultiKeyBinding( |
365 |
new MultiKeyBinding( |
350 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
366 |
KeyStroke.getKeyStroke(KeyEvent.VK_HOME, InputEvent.SHIFT_MASK | MENU_MASK), |
351 |
BaseKit.selectionBeginAction |
367 |
BaseKit.selectionBeginAction |
352 |
), |
368 |
), |
353 |
new MultiKeyBinding( |
369 |
new MultiKeyBinding( |
Lines 359-379
Link Here
|
359 |
BaseKit.selectionEndLineAction |
375 |
BaseKit.selectionEndLineAction |
360 |
), |
376 |
), |
361 |
new MultiKeyBinding( |
377 |
new MultiKeyBinding( |
362 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, InputEvent.CTRL_MASK), |
378 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, MENU_MASK), |
363 |
BaseKit.endAction |
379 |
BaseKit.endAction |
364 |
), |
380 |
), |
365 |
new MultiKeyBinding( |
381 |
new MultiKeyBinding( |
366 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, InputEvent.SHIFT_MASK | InputEvent.CTRL_MASK), |
382 |
KeyStroke.getKeyStroke(KeyEvent.VK_END, InputEvent.SHIFT_MASK | MENU_MASK), |
367 |
BaseKit.selectionEndAction |
383 |
BaseKit.selectionEndAction |
368 |
), |
384 |
), |
369 |
|
385 |
|
370 |
// clipboard bindings |
386 |
// clipboard bindings |
371 |
new MultiKeyBinding( |
387 |
new MultiKeyBinding( |
372 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK), |
388 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, MENU_MASK), |
373 |
BaseKit.copyAction |
389 |
BaseKit.copyAction |
374 |
), |
390 |
), |
375 |
new MultiKeyBinding( |
391 |
new MultiKeyBinding( |
376 |
KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, InputEvent.CTRL_MASK), |
392 |
KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, MENU_MASK), |
377 |
BaseKit.copyAction |
393 |
BaseKit.copyAction |
378 |
), |
394 |
), |
379 |
new MultiKeyBinding( |
395 |
new MultiKeyBinding( |
Lines 385-391
Link Here
|
385 |
BaseKit.cutAction |
401 |
BaseKit.cutAction |
386 |
), |
402 |
), |
387 |
new MultiKeyBinding( |
403 |
new MultiKeyBinding( |
388 |
KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_MASK), |
404 |
KeyStroke.getKeyStroke(KeyEvent.VK_X, MENU_MASK), |
389 |
BaseKit.cutAction |
405 |
BaseKit.cutAction |
390 |
), |
406 |
), |
391 |
new MultiKeyBinding( |
407 |
new MultiKeyBinding( |
Lines 393-399
Link Here
|
393 |
BaseKit.cutAction |
409 |
BaseKit.cutAction |
394 |
), |
410 |
), |
395 |
new MultiKeyBinding( |
411 |
new MultiKeyBinding( |
396 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_MASK), |
412 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, MENU_MASK), |
397 |
BaseKit.pasteAction |
413 |
BaseKit.pasteAction |
398 |
), |
414 |
), |
399 |
new MultiKeyBinding( |
415 |
new MultiKeyBinding( |
Lines 405-417
Link Here
|
405 |
BaseKit.pasteAction |
421 |
BaseKit.pasteAction |
406 |
), |
422 |
), |
407 |
new MultiKeyBinding( |
423 |
new MultiKeyBinding( |
408 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
424 |
KeyStroke.getKeyStroke(KeyEvent.VK_V, MENU_MASK | InputEvent.SHIFT_MASK), |
409 |
BaseKit.pasteFormatedAction |
425 |
BaseKit.pasteFormatedAction |
410 |
), |
426 |
), |
411 |
|
427 |
|
412 |
// undo and redo bindings - handled at system level |
428 |
// undo and redo bindings - handled at system level |
413 |
new MultiKeyBinding( |
429 |
new MultiKeyBinding( |
414 |
KeyStroke.getKeyStroke(KeyEvent.VK_Z, InputEvent.CTRL_MASK), |
430 |
KeyStroke.getKeyStroke(KeyEvent.VK_Z, MENU_MASK), |
415 |
BaseKit.undoAction |
431 |
BaseKit.undoAction |
416 |
), |
432 |
), |
417 |
new MultiKeyBinding( |
433 |
new MultiKeyBinding( |
Lines 419-431
Link Here
|
419 |
BaseKit.undoAction |
435 |
BaseKit.undoAction |
420 |
), |
436 |
), |
421 |
new MultiKeyBinding( |
437 |
new MultiKeyBinding( |
422 |
KeyStroke.getKeyStroke(KeyEvent.VK_Y, InputEvent.CTRL_MASK), |
438 |
KeyStroke.getKeyStroke(KeyEvent.VK_Y, MENU_MASK), |
423 |
BaseKit.redoAction |
439 |
BaseKit.redoAction |
424 |
), |
440 |
), |
425 |
|
441 |
|
426 |
// other bindings |
442 |
// other bindings |
427 |
new MultiKeyBinding( |
443 |
new MultiKeyBinding( |
428 |
KeyStroke.getKeyStroke(KeyEvent.VK_A, InputEvent.CTRL_MASK), |
444 |
KeyStroke.getKeyStroke(KeyEvent.VK_A, MENU_MASK), |
429 |
BaseKit.selectAllAction |
445 |
BaseKit.selectAllAction |
430 |
), |
446 |
), |
431 |
new MultiKeyBinding( |
447 |
new MultiKeyBinding( |
Lines 436-450
Link Here
|
436 |
BaseKit.endWordAction |
452 |
BaseKit.endWordAction |
437 |
), |
453 |
), |
438 |
new MultiKeyBinding( |
454 |
new MultiKeyBinding( |
439 |
KeyStroke.getKeyStroke(KeyEvent.VK_W, InputEvent.CTRL_MASK), |
455 |
KeyStroke.getKeyStroke(KeyEvent.VK_W, MENU_MASK), |
440 |
BaseKit.removeWordAction |
456 |
BaseKit.removeWordAction |
441 |
), |
457 |
), |
442 |
new MultiKeyBinding( |
458 |
new MultiKeyBinding( |
443 |
KeyStroke.getKeyStroke(KeyEvent.VK_U, InputEvent.CTRL_MASK), |
459 |
KeyStroke.getKeyStroke(KeyEvent.VK_U, MENU_MASK), |
444 |
BaseKit.removeLineBeginAction |
460 |
BaseKit.removeLineBeginAction |
445 |
), |
461 |
), |
446 |
new MultiKeyBinding( |
462 |
new MultiKeyBinding( |
447 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, InputEvent.CTRL_MASK), |
463 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, MENU_MASK), |
448 |
BaseKit.removeLineAction |
464 |
BaseKit.removeLineAction |
449 |
), |
465 |
), |
450 |
new MultiKeyBinding( |
466 |
new MultiKeyBinding( |
Lines 452-458
Link Here
|
452 |
BaseKit.toggleTypingModeAction |
468 |
BaseKit.toggleTypingModeAction |
453 |
), |
469 |
), |
454 |
new MultiKeyBinding( |
470 |
new MultiKeyBinding( |
455 |
KeyStroke.getKeyStroke(KeyEvent.VK_F2, InputEvent.CTRL_MASK), |
471 |
KeyStroke.getKeyStroke(KeyEvent.VK_F2, MENU_MASK), |
456 |
BaseKit.toggleBookmarkAction |
472 |
BaseKit.toggleBookmarkAction |
457 |
), |
473 |
), |
458 |
new MultiKeyBinding( |
474 |
new MultiKeyBinding( |
Lines 460-474
Link Here
|
460 |
BaseKit.gotoNextBookmarkAction |
476 |
BaseKit.gotoNextBookmarkAction |
461 |
), |
477 |
), |
462 |
new MultiKeyBinding( |
478 |
new MultiKeyBinding( |
463 |
KeyStroke.getKeyStroke(KeyEvent.VK_F3, 0), |
479 |
KeyStroke.getKeyStroke(FIND_NEXT_KEY, FIND_NEXT_MASK), |
464 |
BaseKit.findNextAction |
480 |
BaseKit.findNextAction |
465 |
), |
481 |
), |
466 |
new MultiKeyBinding( |
482 |
new MultiKeyBinding( |
467 |
KeyStroke.getKeyStroke(KeyEvent.VK_F3, InputEvent.SHIFT_MASK), |
483 |
KeyStroke.getKeyStroke(FIND_NEXT_KEY, FIND_NEXT_MASK | InputEvent.SHIFT_MASK), |
468 |
BaseKit.findPreviousAction |
484 |
BaseKit.findPreviousAction |
469 |
), |
485 |
), |
470 |
new MultiKeyBinding( |
486 |
new MultiKeyBinding( |
471 |
KeyStroke.getKeyStroke(KeyEvent.VK_F3, InputEvent.CTRL_MASK), |
487 |
KeyStroke.getKeyStroke(FIND_NEXT_KEY, FIND_NEXT_MASK | InputEvent.CTRL_MASK), |
472 |
BaseKit.findSelectionAction |
488 |
BaseKit.findSelectionAction |
473 |
), |
489 |
), |
474 |
new MultiKeyBinding( |
490 |
new MultiKeyBinding( |
Lines 476-494
Link Here
|
476 |
BaseKit.toggleHighlightSearchAction |
492 |
BaseKit.toggleHighlightSearchAction |
477 |
), |
493 |
), |
478 |
new MultiKeyBinding( |
494 |
new MultiKeyBinding( |
479 |
KeyStroke.getKeyStroke(KeyEvent.VK_L, InputEvent.CTRL_MASK), |
495 |
KeyStroke.getKeyStroke(KeyEvent.VK_L, MENU_MASK), |
480 |
BaseKit.wordMatchNextAction |
496 |
BaseKit.wordMatchNextAction |
481 |
), |
497 |
), |
482 |
new MultiKeyBinding( |
498 |
new MultiKeyBinding( |
483 |
KeyStroke.getKeyStroke(KeyEvent.VK_K, InputEvent.CTRL_MASK), |
499 |
KeyStroke.getKeyStroke(KeyEvent.VK_K, MENU_MASK), |
484 |
BaseKit.wordMatchPrevAction |
500 |
BaseKit.wordMatchPrevAction |
485 |
), |
501 |
), |
486 |
new MultiKeyBinding( |
502 |
new MultiKeyBinding( |
487 |
KeyStroke.getKeyStroke(KeyEvent.VK_T, InputEvent.CTRL_MASK), |
503 |
KeyStroke.getKeyStroke(KeyEvent.VK_T, MENU_MASK), |
488 |
BaseKit.shiftLineRightAction |
504 |
BaseKit.shiftLineRightAction |
489 |
), |
505 |
), |
490 |
new MultiKeyBinding( |
506 |
new MultiKeyBinding( |
491 |
KeyStroke.getKeyStroke(KeyEvent.VK_D, InputEvent.CTRL_MASK), |
507 |
KeyStroke.getKeyStroke(KeyEvent.VK_D, MENU_MASK), |
492 |
BaseKit.shiftLineLeftAction |
508 |
BaseKit.shiftLineLeftAction |
493 |
), |
509 |
), |
494 |
new MultiKeyBinding( |
510 |
new MultiKeyBinding( |
Lines 496-502
Link Here
|
496 |
BaseKit.abbrevResetAction |
512 |
BaseKit.abbrevResetAction |
497 |
), |
513 |
), |
498 |
new MultiKeyBinding( |
514 |
new MultiKeyBinding( |
499 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
515 |
KeyStroke.getKeyStroke(KeyEvent.VK_C, MENU_MASK | InputEvent.SHIFT_MASK), |
500 |
BaseKit.annotationsCyclingAction |
516 |
BaseKit.annotationsCyclingAction |
501 |
), |
517 |
), |
502 |
|
518 |
|
Lines 536-542
Link Here
|
536 |
), |
552 |
), |
537 |
|
553 |
|
538 |
new MultiKeyBinding( |
554 |
new MultiKeyBinding( |
539 |
KeyStroke.getKeyStroke(KeyEvent.VK_F, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK ), |
555 |
KeyStroke.getKeyStroke(KeyEvent.VK_F, MENU_MASK | InputEvent.SHIFT_MASK ), |
540 |
BaseKit.formatAction |
556 |
BaseKit.formatAction |
541 |
), |
557 |
), |
542 |
new MultiKeyBinding( |
558 |
new MultiKeyBinding( |
Lines 582-594
Link Here
|
582 |
), |
598 |
), |
583 |
|
599 |
|
584 |
new MultiKeyBinding( |
600 |
new MultiKeyBinding( |
585 |
KeyStroke.getKeyStroke(KeyEvent.VK_M, InputEvent.CTRL_MASK), |
601 |
KeyStroke.getKeyStroke(KeyEvent.VK_M, MENU_MASK), |
586 |
BaseKit.selectNextParameterAction |
602 |
BaseKit.selectNextParameterAction |
587 |
), |
603 |
), |
588 |
|
604 |
|
589 |
new MultiKeyBinding( |
605 |
new MultiKeyBinding( |
590 |
new KeyStroke[] { |
606 |
new KeyStroke[] { |
591 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, InputEvent.CTRL_MASK), |
607 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, MENU_MASK), |
592 |
KeyStroke.getKeyStroke(KeyEvent.VK_S, 0), |
608 |
KeyStroke.getKeyStroke(KeyEvent.VK_S, 0), |
593 |
}, |
609 |
}, |
594 |
BaseKit.startMacroRecordingAction |
610 |
BaseKit.startMacroRecordingAction |
Lines 596-654
Link Here
|
596 |
|
612 |
|
597 |
new MultiKeyBinding( |
613 |
new MultiKeyBinding( |
598 |
new KeyStroke[] { |
614 |
new KeyStroke[] { |
599 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, InputEvent.CTRL_MASK), |
615 |
KeyStroke.getKeyStroke(KeyEvent.VK_J, MENU_MASK), |
600 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, 0), |
616 |
KeyStroke.getKeyStroke(KeyEvent.VK_E, 0), |
601 |
}, |
617 |
}, |
602 |
BaseKit.stopMacroRecordingAction |
618 |
BaseKit.stopMacroRecordingAction |
603 |
), |
619 |
), |
604 |
|
620 |
|
605 |
new MultiKeyBinding( |
621 |
new MultiKeyBinding( |
606 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, InputEvent.CTRL_MASK), |
622 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, MENU_MASK), |
607 |
BaseKit.collapseFoldAction |
623 |
BaseKit.collapseFoldAction |
608 |
), |
624 |
), |
609 |
|
625 |
|
610 |
new MultiKeyBinding( |
626 |
new MultiKeyBinding( |
611 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, InputEvent.CTRL_MASK), |
627 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, MENU_MASK), |
612 |
BaseKit.expandFoldAction |
628 |
BaseKit.expandFoldAction |
613 |
), |
629 |
), |
614 |
|
630 |
|
615 |
new MultiKeyBinding( |
631 |
new MultiKeyBinding( |
616 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
632 |
KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT, MENU_MASK | InputEvent.SHIFT_MASK), |
617 |
BaseKit.collapseAllFoldsAction |
633 |
BaseKit.collapseAllFoldsAction |
618 |
), |
634 |
), |
619 |
|
635 |
|
620 |
new MultiKeyBinding( |
636 |
new MultiKeyBinding( |
621 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
637 |
KeyStroke.getKeyStroke(KeyEvent.VK_ADD, MENU_MASK | InputEvent.SHIFT_MASK), |
622 |
BaseKit.expandAllFoldsAction |
638 |
BaseKit.expandAllFoldsAction |
623 |
), |
639 |
), |
624 |
|
640 |
|
625 |
new MultiKeyBinding( |
641 |
new MultiKeyBinding( |
626 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, InputEvent.CTRL_MASK), |
642 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, MENU_MASK), |
627 |
BaseKit.collapseFoldAction |
643 |
BaseKit.collapseFoldAction |
628 |
), |
644 |
), |
629 |
|
645 |
|
630 |
new MultiKeyBinding( |
646 |
new MultiKeyBinding( |
631 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, InputEvent.CTRL_MASK), |
647 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, MENU_MASK), |
632 |
BaseKit.expandFoldAction |
648 |
BaseKit.expandFoldAction |
633 |
), |
649 |
), |
634 |
|
650 |
|
635 |
new MultiKeyBinding( |
651 |
new MultiKeyBinding( |
636 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, InputEvent.CTRL_MASK), |
652 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, MENU_MASK), |
637 |
BaseKit.expandFoldAction |
653 |
BaseKit.expandFoldAction |
638 |
), |
654 |
), |
639 |
|
655 |
|
640 |
new MultiKeyBinding( |
656 |
new MultiKeyBinding( |
641 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
657 |
KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, MENU_MASK | InputEvent.SHIFT_MASK), |
642 |
BaseKit.collapseAllFoldsAction |
658 |
BaseKit.collapseAllFoldsAction |
643 |
), |
659 |
), |
644 |
|
660 |
|
645 |
new MultiKeyBinding( |
661 |
new MultiKeyBinding( |
646 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
662 |
KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, MENU_MASK | InputEvent.SHIFT_MASK), |
647 |
BaseKit.expandAllFoldsAction |
663 |
BaseKit.expandAllFoldsAction |
648 |
), |
664 |
), |
649 |
|
665 |
|
650 |
new MultiKeyBinding( |
666 |
new MultiKeyBinding( |
651 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK), |
667 |
KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, MENU_MASK | InputEvent.SHIFT_MASK), |
652 |
BaseKit.expandAllFoldsAction |
668 |
BaseKit.expandAllFoldsAction |
653 |
), |
669 |
), |
654 |
|
670 |
|