Search found 494 matches

by pjj
02 Mar 2021 22:39
Forum: Questions
Topic: How do I use new debug functions?
Replies: 2
Views: 26

Re: How do I use new debug functions?

Thanks a lot for your prompt response! Sadly let str = "Hello, world!"; MainApp.OutputDebugString("My variable str =", str); doesn't work for me; all I get is "My variable str = ". It works for the integer, though. As for your third example, I get My string list contains: {"Duplicates":0,"Sorted":fa...
by pjj
02 Mar 2021 22:18
Forum: Questions
Topic: How do I call new Capitalize() function?
Replies: 2
Views: 26

Re: How do I call new Capitalize() function?

Works like a charm :-D Many thanks!
by pjj
02 Mar 2021 18:42
Forum: Questions
Topic: How do I call new Capitalize() function?
Replies: 2
Views: 26

How do I call new Capitalize() function?

Some time ago I wrote a handy script for case switching; at least it's quite handy for me 8) Anyway, it has this line: Document.InsertText(Namecase(selection)); which works, but unlike Format > Change Case > Capitalize. I hoped the new function you just introduced will be a good replacement, but sad...
by pjj
02 Mar 2021 18:33
Forum: Questions
Topic: How do I use new debug functions?
Replies: 2
Views: 26

How do I use new debug functions?

I am really thankful for adding new debug functions so swiftly! Sadly, I have no idea how to use them properly. MainApp.OutputDebugString(strText, value) This works, however I have no idea what strText should be :? I guess it should be variable, and 2nd parameter is superfluous, or so it seems: let ...
by pjj
28 Feb 2021 22:05
Forum: Features
Topic: Better debug for scripts?
Replies: 2
Views: 24

Re: Better debug for scripts?

Cool! Thanks a lot! :-D Will it work with objects, though, like e.g. TElMainMenu? E.g. ShowMessage(TElMenuItem.Items); brings up message "not enough parameters" and then I'm stuck, getting "index required", "undeclared identifier", "not enough parameters" or null response for various crazy combinati...
by pjj
28 Feb 2021 20:49
Forum: Features
Topic: Better debug for scripts?
Replies: 2
Views: 24

Better debug for scripts?

Since I have your attention today 8) one more feature request. I've been trying to concoct another script today, or rather an extension, and have a really hard time trying to figure things out. Sample code fro the help file seemed not to work, so I was fumbling in the dark. Sadly, the only debugging...
by pjj
28 Feb 2021 20:07
Forum: Features
Topic: Highlight fully qualified PHP function calls
Replies: 2
Views: 83

Re: Highlight fully qualified PHP function calls

Frankly, I'm not sure where to look; I can't see any difference, with one exception: there's no "function" entry in theme's customization window, so functions aren't highlighted at all. Is it your intention? Btw, is language server going to support semantic highlighting somehow? If so, perhaps it's ...
by pjj
28 Feb 2021 19:54
Forum: Bugs
Topic: FIXED? Discrepancy between script and menu command output
Replies: 4
Views: 38

Re: FIXED? Discrepancy between script and menu command output

Wonderful, thanks! As for the "title capitalization" (as opposed to string capitalization), I don't think it's worth it. First of all, it may be needed by editors rather than programmers; second of all, it should take into account string's language, because each one has its own rules, cf. e.g. TextI...
by pjj
28 Feb 2021 16:22
Forum: Bugs
Topic: FIXED? Discrepancy between script and menu command output
Replies: 4
Views: 38

Re: FIXED? Discrepancy between script and menu command output

:? Perhaps I expressed myself not clearly enough. I didn't mean capitalization as in "title capitalization" (as covered by, among other similar style guides, Chicago Manual of Style); what I meant was converting a string to a so called title case (or proper case, cf. e.g. http://string-functions.com...
by pjj
28 Feb 2021 13:03
Forum: Bugs
Topic: FIXED? Discrepancy between script and menu command output
Replies: 4
Views: 38

FIXED? Discrepancy between script and menu command output

Here's an exemplary text: one two "one two" (one two) one-two one_two one+two one,two When I run RMC > Change Case > Capitalize command (or Edit > Format > Change Case > Capitalize), I get this: One Two "One Two" (One Two) One-Two One_two One+Two One,Two However, with a Namecase function in my scrip...
by pjj
24 Feb 2021 17:22
Forum: Features
Topic: DONE? Tweak how fuzzy search results are presented
Replies: 1
Views: 34

DONE? Tweak how fuzzy search results are presented

It would be really helpful if you could tweak the way fuzzy search works or, more specifically, how hits are sorted and what gets highlighted. Now it seems that the whole path is parsed character after character, which means that -- if you write down part of a filename and you have many files in you...
by pjj
22 Feb 2021 21:50
Forum: Features
Topic: Highlight fully qualified PHP function calls
Replies: 2
Views: 83

Highlight fully qualified PHP function calls

Apparently you can get a little performance boost in PHP by using fully qualified function calls , i.e. by writing backslash before (some) functions. As of now, RJ TE can't recognize functions' names preceded by this char: fq_func_name.png Could you please add support for it, just as negation (i.e. ...
by pjj
19 Feb 2021 16:39
Forum: Questions
Topic: How to completely turn OFF wrapping of long lines
Replies: 5
Views: 116

Re: How to completely turn OFF wrapping of long lines

I managed to produce xml file with 78k+ chars line's length, but working on it with word-wrap off is virtually impossible for me (it's way better without XML highlighter on, though). I guess RJ TE hasn't been optimized for such, well, unusual cases. Anyway, two consecutive ^W can unwrap long lines t...
by pjj
19 Feb 2021 10:13
Forum: Bugs
Topic: FIXED: v14.71: "current folder icon" broken?
Replies: 7
Views: 402

Re: FIXED: v14.71: "current folder icon" broken?

Interestingly, it works for me well -- I don't use this panel, but I just checked out, driven by curiosity 8)