New update available.
This update adresses the Search and Replace functionality of the TESH as well as the folding functionality. Furthermore, various bugs were fixed with this update.
First of all, the new Search and Replace window works more compliant than the one from the old TESH as it allows the user to still select text from the trigger editor window. Also it shows no directly the line number were a search match occured. Finally the Replace-All functionality works much faster for many items than in the old TESH. Also the Search Window stays now open when performing a Search, making its behavior more like the Windows standard.
Furthermore this update provides a new lexer with full folding support of the vJass syntax. Several problems of the old TESH got fixed too, especially missing keywords or wrong fold header detections. Especially the debug statement or static ifs broke the folding of the old TESH completly, while now all keyword combinations that are
potentially correct (and only those!) create a fold header. With that even on such crazy things like
debug private static stub constant method operator omg takes nothing returns integer
get their fold header correctly, as they are potentially valid vJass syntax. Also missing preprocessor keywords like inject were added and get fold headers now.
But not enough, both the scroll position (horizontal and vertical) as well as all folding states of a current trigger page are maintained throughout a session without modifying the document. So you can switch now between triggers and your folded functions will stay folded when switching back.
Update to Version 0.5
- Added full folding support
- Added correct folding also on static ifs, stub methods and the debug keyword
- Added correct folding also on previous missing preproccesor keywords like inject
- Added full Search and Replace functionality
- Text can now be copied with the Search-Window open
- The Search and Replace window now stays open when performing searches
- The line of the found entry is now also displayed
- Search and Replace history now stores much more entries than the old tesh
- Drastically faster Replace-All functionality than the old tesh
- Fixed several bugs with the calltip window
- Fixed a bug that made the char autocomplete list jump
- Fixed a bug that made the autocomplete list apear outside the screen
- Fixed a bug with nested calltips of the same function
- Removed some wrong entries from the autocomplete list
- Removed some empty entries from the string autocomplete list
- Removed the warning on the load template button
- Added the
main
keyword to the autocomplete list
- Added the
import
keyword to the autocomplete list
- Added the
library_once
keyword to the autocomplete list and the highlighter
- Added highlighting for hex numbers
- Horizontal and Vertical scroll position are now maintained when switching a trigger
- Folding state is also maintained when switching between triggers
- Deleting a fold-flag now automatically expands it if it was folded before
- CTRL-SPACE scrolls now automatically into view if the caret was outside the screen
- Fixed several bugs with the autocomplete list at the end of the document
- Typing now triggers both the autocomplete list and the calltip list, if available
- Holding/releasing CTRL now directly activates /deactivates hotspots without having to move the mouse
- Changed the colors of fold headers to something less eye cancer-causing
- Slightly improved performance