- Posted by
- That works brilliantly.. thank you!Posted in Syntax Highlighting
-   Topics
-   Views
- StaticGhost
Mar 19, 2019
- It seems the existing markdown function list is really not helpful, as it groups h1s, h2s, h3s together rather than nesting h2s under h1s, h3s under h2s etc. # First heading Some text ## Sub-heading 2nd level Some text ### Sub-heading 3rd level Some text # Second heading Some text # Third heading So...Posted in Syntax Highlighting
-   Topics
-   Views
- StaticGhost
Mar 15, 2019
- Thanks for that Mofi, that's marvelous! I made a couple of adjustments to suit what I am trying to achieve: If I am within a block, just select from current position to start/end of that block; plus keep the selection active so that multiple invocations of the same macro will continue to extend the ...Posted in Macros
-   Topics
-   Views
- StaticGhost
Feb 19, 2019
- I have been having a go at creating a macro that will select the next/previous block of consecutive non-blank lines (working in a similar way for UNIX/DOS files). This is what I have so far: Select down InsertMode ColumnModeOff HexOff PerlReOn StartSelect Find RegExp Select "(\r\n|\n)*..*(?=(\r\n\r\...Posted in Macros
-   Topics
-   Views
- StaticGhost
Feb 19, 2019
- Back in 2010, I wrote macro to select HTML tag , which I have been using ever since - but they weren't perfect. They didn't deal correctly with nested tag names that were similar, such as zip vs zipfileset (ant xml). It used main clipboard, which isn't nice. I have re-written them and present them h...Posted in Macros
-   Topics
-   Views
- StaticGhost
Apr 18, 2015
- Wow, thanks Mofi. It is very interesting that this is not as simple as the regex I was attempting to use. Have you noticed that PrevNonWhiteChar is significantly slower than NextNonWhiteChar? PrevNonWhiteChar will often take a a second or more just to traverse one word to the previous word.Posted in Macros
-   Topics
-   Views
- StaticGhost
Feb 14, 2014
- Hi Mofi, The following topics should help you: Ctrl+Right stops at underscore - how do you make it stop? Assign Ctrl+Double Click to keyboard Customize 'Select Word' to include a dash as word char Please note that for additionally selecting you need further macros which select on caret move. I revie...Posted in Macros
-   Topics
-   Views
- StaticGhost
Feb 12, 2014
- I am trying to create two macros that will jump to next/previous word but only using whitespace as delimiters A use case for this is that I should be able to use the macro three times to get from one end of this snippet to the other (so it ignores repeated newlines and skips non alphanumeric charact...Posted in Macros
-   Topics
-   Views
- StaticGhost
Feb 12, 2014
- Hi Mofi, Do you have a version of uemacro.uew that shows the macro names as functions? I got as far as below, which works as a Perl regular expression find string, but wasn't working in the function list. ^.*[*]{5} (.*)[*]*$ Also, do you have a macro file of your own key utility macros you would car...Posted in Macros
-   Topics
-   Views
- StaticGhost
Jul 08, 2013
- I don't use command line SVN for this anymore - I use Tortoise SVN which has much better tooling for checkin dialogs etc. This was suggested by Daniel K, a commenter on one the blog post I wrote about this very post ! E.g. a commit: TortoiseProc.exe /command:commit /path:"%f" /closeonend:1 Or a diff...Posted in Custom User Tools/Tool Configuration
-   Topics
-   Views
- StaticGhost
Jul 05, 2012
- It's not just global though - it's whatever you have listed in the order seen by the template list. Here is mine: http://i.imgur.com/6O4lA.png I have no global templates. I have some for the environment called "Robs" and some linked to the IDX file type. This macro runs the last one: InsertMode Colu...Posted in Macros
-   Topics
-   Views
- StaticGhost
Mar 26, 2012
- Hi all! Previously, we could use "Template #" to insert a template into a macro. With the smart template system of UE v18.00, they don't seem to have numbers anymore. So how does this work now? Edit: OK, so you can still use the number, i.e. "Template 0" will work. But this brings a different issue:...Posted in Macros
-   Topics
-   Views
- StaticGhost
Mar 26, 2012
- Sweet! UltraEdit and AHK are two of my favourite all purpose "get things done tools" - thanks for this! Rob :)Posted in Custom User Tools/Tool Configuration
-   Topics
-   Views
- StaticGhost
Feb 15, 2012
- This regex will find Java function Strings with multiple newline characters in them: %[ ^t]++[ps][a-z]+ [a-z0-9]+ ^(*([ ^t^pa-zA-Z0-9-_,]++)^)[ ^t]++$ It now finds: void someMethod1(int anArg, Object anotherArg, String yetAnotherArg, Object andStillAnother) { or.. void someMethod1(int anArg, Object ...Posted in Syntax Highlighting
-   Topics
-   Views
- StaticGhost
Sep 13, 2010
- And to do the same thing the other way, use this one. InsertMode ColumnModeOff HexOff UltraEditReOn IfSel Find RegExp Up Select "</++^c>++" Else SelectWord Copy Find Up Select "</^c>" Find Select ">" EndIf Personally, I have the select forward macro mapped to Control+Shift+ . and the select backward...Posted in Macros
-   Topics
-   Views
- StaticGhost
Jun 03, 2010