Changeset 1223


Ignore:
Timestamp:
Jul 14, 2011, 8:10:30 AM (6 years ago)
Author:
stefan
Message:

jump to environment definition

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r1222 r1223  
    1111* new features:
    1212  - completion of environment names after \begin and \end
     13  - jump to environment definition
    1314  - suggestions for package imports via alt+ENTER on undefined commands or environment
    1415  - quick help shows lists of packages and documentclasses providing command under cursor
  • trunk/src/jlatexeditor/codehelper/JumpTo.java

    r1071 r1223  
    8383            return;
    8484          }
     85        } else
     86        if (command.equals("begin")) {
     87          BackgroundParser.FilePos filePos = SCEManager.getBackgroundParser().getEnvironments().get(word.word);
     88          if (filePos != null) {
     89            SCEManager.getInstance().open(new FileDoc(new File(filePos.getFile())), filePos.getLineNr());
     90            return;
     91          }
    8592        }
    8693      }
Note: See TracChangeset for help on using the changeset viewer.