Search found 150 matches

by micha_he
21 Jul 2015 10:22
Forum: Bug reports
Topic: SOLVED? V10.50 B3: Undo Script-action not complete
Replies: 4
Views: 8553

Re: SOLVED? V10.50 B3: Undo Script-action not complete

The temporary fix in V10.50 stable isn't the best solution !

While the script and undo now works, the 1000 Delete.Line-commands need < 1s and the undo of the same actions need ~5s !
Possibly the updating of the RJTED-window is the problem (the slider is flicker while undo) !
by micha_he
16 Jul 2015 08:33
Forum: Bug reports
Topic: SOLVED? V10.50 B3: Undo Script-action not complete
Replies: 4
Views: 8553

Re: SOLVED? V10.50 B3: Undo Script-action not complete

But... Between BeginUndo and EndUndo should it be one single change !? And not > 100 :?:
by micha_he
15 Jul 2015 08:57
Forum: Bug reports
Topic: SOLVED? V10.50 B3: Undo Script-action not complete
Replies: 4
Views: 8553

SOLVED? V10.50 B3: Undo Script-action not complete

With a script (look third script is this post) i delete all until the rest of nearly 10 lines from 1100 lines in one step.

With 'Edit -> Undo' (same in 'Edit -> Undo/Redo History...') there only ~100 are restored. The rest is missing !
by micha_he
15 Jul 2015 07:10
Forum: Bug reports
Topic: FIXED: V10.50 B3: Cmd line-option '/HEX' show another design
Replies: 1
Views: 5509

FIXED: V10.50 B3: Cmd line-option '/HEX' show another design

When i opened a file with the commandline-option '/HEX' the file is displayed as 8bit a' 1 Byte (00-FF). If i open it normal and switch with 'View/Hexadecimal view' it is displayed as 16bit a' 2Byte/Unicode-word (0000-FFFF). Is this intended ? While i tested the thing above the editor crashed one ti...
by micha_he
08 Jul 2015 21:44
Forum: Bug reports
Topic: FIXED: Missing translation in script menu from V10.50 b1
Replies: 1
Views: 5800

FIXED: Missing translation in script menu from V10.50 b1

I miss a translation in the script menu !
RunAndSelect.jpg
RunAndSelect.jpg (15.19 KiB) Viewed 5800 times
by micha_he
01 Jun 2015 07:01
Forum: Bug reports
Topic: SOLVED: Missing translation at scripts-menu V10.40 Beta 1
Replies: 2
Views: 6979

Re: Missing translation at scripts-menu V10.40 Beta 1

Damn. I've search for "recent scripts" and nothing found, while the string contains the '&' char :cry:
I have sent you corrected versions...
by micha_he
31 May 2015 13:31
Forum: Bug reports
Topic: SOLVED: Missing translation at scripts-menu V10.40 Beta 1
Replies: 2
Views: 6979

SOLVED: Missing translation at scripts-menu V10.40 Beta 1

The german (seems all other) translation in the scripts-menu is missing in the lng-file's !?
Scripts_Translation.jpg
Scripts_Translation.jpg (14.93 KiB) Viewed 6979 times
by micha_he
12 May 2015 15:17
Forum: Scripts
Topic: How can I replace numeric entities in a string?
Replies: 4
Views: 17217

Re: How can I replace numeric entities in a string?

Same here ! Maybe an error...
But you can use:

Code: Select all

s = ScriptUtils.RegExReplaceAll(s, "&(#)160;", " ");
by micha_he
12 May 2015 14:40
Forum: Scripts
Topic: How can I replace numeric entities in a string?
Replies: 4
Views: 17217

Re: How can I replace numeric entities in a string?

Maybe...

Edit - New try:

Code: Select all

s = ScriptUtils.RegExReplaceAll(s, "\xA0", " ");
by micha_he
12 May 2015 14:30
Forum: Scripts
Topic: Example: DelLineContains / DelLineNotContains
Replies: 21
Views: 47025

Re: Example: DelLineContains / DelLineNotContains

New combined version in post#1.

Are in this forum no Spoiler's for code-snippets available ?
by micha_he
12 May 2015 07:18
Forum: Scripts
Topic: Example: DelLineContains / DelLineNotContains
Replies: 21
Views: 47025

Re: Example: DelLineContains / DelLineNotContains

Does this support regular expressions?? You can change the line with 'if (ScriptUtils.Pos...' to 'if (ScriptUtils.RegExPos...'. But in this case, you must escape the special regex-characters (like \*.? etc.) ! And I'm confused: WHAT happens if the Cancel button is clicked?? Look my question in post...
by micha_he
11 May 2015 11:32
Forum: Scripts
Topic: Example: DelLineContains / DelLineNotContains
Replies: 21
Views: 47025

Re: Example: DelLineContains / DelLineNotContains

Back to my script from post #1:

Is there a way to query that the user had canceled the inputbox ?
If i click cancel, the returned value is the default value and not empty!
by micha_he
11 May 2015 10:05
Forum: Scripts
Topic: Example: DelLineContains / DelLineNotContains
Replies: 21
Views: 47025

Re: Example: DelLineContains / DelLineNotContains

I've tested it... Works !

'Undo' and 'Revert' (German: 'Rückgängig' and 'Zurücknehmen') are not clearly, in my opinion...

Is there a marked difference between undo and revert ?
by micha_he
09 May 2015 13:04
Forum: Scripts
Topic: Example: DelLineContains / DelLineNotContains
Replies: 21
Views: 47025

Re: Example: DelLineContains / DelLineNotContains

I've modified the scripts from post #1 to the new method 'Document.DeleteLine()'. Works great and quicker :P But you can already undo all of it in one action by using the "Edit -> Undo/Redo History..." window. There I can also undo only one after the other! Or how can I mark all ? Klick on...
by micha_he
07 May 2015 14:33
Forum: Bug reports
Topic: FIXED: Search/Replace -> Slider glitch
Replies: 3
Views: 7549

Re: Search/Replace -> Slider glitch

More Infos to the crash: - New text-document - Write 'aaaaa' in the first line - Duplicate the line >= 22 times (21 not enough at me). Scrollbar on right exists now ! - Search: 'aaaaa' (Global, RegExp) Replace: 'aaaaa\r\n\r\n' - All ok. - Menu: Edit --> Undo Crash here ! Reproducible with V10.30 bet...