- Posted by
- I have If sentences indenting properly in UE 14. Simple if statements do not indent: If bStatus Then bStatus=File_CopyFile(gsRoot & "\Files\UV-Data.RDP", gsFiles & "\UV-Data.RDP", False) Custom=bStatus but if ... end if do indent: If bStatus And (sClientDir<>"") Then Set oLocalFSO = CreateObject("Sc...Posted in Syntax Highlighting
-   Topics
-   Views
- Dawk
Jun 10, 2008
- After giving up on writing this as a macro, I decided to try doing it with JavaScript. The following works, although it is a bit slow. function getpos() { pos = 0; while (UltraEdit.activeDocument.isColNumGt(pos)) { pos++; } return pos; } if (typeof(UltraEdit.columnModeOn) == "function") UltraEdit.co...Posted in Scripts
-   Topics
-   Views
- Dawk
Feb 15, 2007
- Here you go - This is a work in progress, so I am planning on submitting it once it's finished. You can download it here: Smarty highlighting Known issues: So far I have been unable to make php code between {php} and {/php} highlight. I know that I could just add the php keywords to /L3 as well, but...Posted in Syntax Highlighting
-   Topics
-   Views
- Dawk
Feb 13, 2007
- jmateboer: If the template language you are talking about is Smarty, I have expanded the HTML highlighting in the wordfile to include Smarty tags with proper indentation and code folding (without breaking HTML highlighting). Let me know if you would like a copy of my wordfile. /DawkPosted in Syntax Highlighting
-   Topics
-   Views
- Dawk
Feb 09, 2007
- /Indent Strings = "(" "begin" "then" "loop" /Unindent Strings = ")" "else" "elsif" "end if" /Open Fold Strings = "(" "begin" "if" "loop" /Close Fold Strings = ")" "end process" "end if" "end loop" Hmm, wouldn't it be easier to just have /Close Fold Strings = "(" "end" - "end" would then match all 3...Posted in Syntax Highlighting
-   Topics
-   Views
- Dawk
Feb 09, 2007