Sometimes it is necessary to create an UltraEdit macro or script using finds/replaces for ANSI/Unicode strings. ANSI strings are strings consisting of single byte characters with a code value in range 0 to 255 whereby which character is displayed for a value in range 128 to 255 depends on currently ...
If the content is consisting of only ASCII characters, everything is ok: UltraEdit.clipboardContent = "hello, world"; UltraEdit.activeDocument.paste(); But if the content contains Chinese characters like UltraEdit.clipboardContent = "你好"; UltraEdit.activeDocument.paste(); then I get nothing. Has any...
Hi, there: I've a script that will repeat till there's no more occurrence of a pattern. But recently I found it cannot complete it. The script just removes any spaces between "!", "?" or ".". It works when I do it manually by replace dialog box with parameter of "([!?.])\s+([!?.])" and "\1\2". But w...