Changeset 3581


Ignore:
Timestamp:
09/04/03 14:59:53 (20 years ago)
Author:
piso
Message:

populateGoMenu(): added "Go to Offset...".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/AbstractMode.java

    r3100 r3581  
    33 *
    44 * Copyright (C) 1998-2003 Peter Graves
    5  * $Id: AbstractMode.java,v 1.16 2003-07-26 18:51:52 piso Exp $
     5 * $Id: AbstractMode.java,v 1.17 2003-09-04 14:59:53 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    326326    private static void populateGoMenu(Editor editor, Menu menu)
    327327    {
    328         menu.add(editor, "Go To Line...", 'L', "jumpToLine");
    329         menu.add(editor, "Go To Column...", 'C', "jumpToColumn");
     328        menu.add(editor, "Go to Line...", 'L', "jumpToLine");
     329        menu.add(editor, "Go to Column...", 'C', "jumpToColumn");
     330        menu.add(editor, "Go to Offset...", 'O', "jumpToOffset");
    330331        if (editor.getModeId() == HTML_MODE)
    331             menu.add(editor, "Go To Matching HTML", 'M', "htmlFindMatch");
     332            menu.add(editor, "Go to Matching HTML", 'M', "htmlFindMatch");
    332333        else
    333             menu.add(editor, "Go To Matching Character", 'M', "findMatchingChar");
    334         menu.add(editor, "Go To Tag", 'A', "findTagAtDot");
    335         menu.add(editor, "Go To Next Occurrence of Word", 'T', "findNextWord");
    336         menu.add(editor, "Go To Previous Occurrence of Word", 'R', "findPrevWord");
     334            menu.add(editor, "Go to Matching Character", 'M', "findMatchingChar");
     335        menu.add(editor, "Go to Tag", 'A', "findTagAtDot");
     336        menu.add(editor, "Go to Next Occurrence of Word", 'T', "findNextWord");
     337        menu.add(editor, "Go to Previous Occurrence of Word", 'R', "findPrevWord");
    337338        if (editor.getBuffer().getBooleanProperty(Property.SHOW_CHANGE_MARKS)) {
    338             menu.add(editor, "Go To Next Change", 'H', "nextChange");
    339             menu.add(editor, "Go To Previous Change", 'G', "previousChange");
     339            menu.add(editor, "Go to Next Change", 'H', "nextChange");
     340            menu.add(editor, "Go to Previous Change", 'G', "previousChange");
    340341        }
    341342        menu.addSeparator();
    342343        menu.add(editor, "Push Position", 'U', "pushPosition");
    343         menu.add(editor, "Pop Position", 'O', "popPosition");
     344        menu.add(editor, "Pop Position", 'P', "popPosition");
    344345    }
    345346
Note: See TracChangeset for help on using the changeset viewer.