deflore08 wrote: ↑August 2nd, 2020, 12:00 am
Hello! Is there any way to break a strings at options like mouseactions or ifConditions? For example, i have next code:
It's not the solution you were hoping for, but you could at least turn on "word wrap" in your code editor, so you wouldn't have to deal with one very long line that doesn't display.
If only Notepad++ would have a plugin or a setting to treat Vertical Tab / Line Tabulation as a "fake newline" instead of displaying it as VT, that would solve the issue, as Rainmeter ignores it and runs the bangs after it...
Lieuallen wrote: ↑August 2nd, 2020, 11:27 am
It's not the solution you were hoping for, but you could at least turn on "word wrap" in your code editor, so you wouldn't have to deal with one very long line that doesn't display.
Yes, word wrap helps a bit, i'd exactly suicide without it. But it's not a solution, because long code is unreadable.
Yincognito wrote: ↑August 2nd, 2020, 1:11 pm
If only Notepad++ would have a plugin or a setting to treat Vertical Tab / Line Tabulation as a "fake newline" instead of displaying it as VT, that would solve the issue, as Rainmeter ignores it and runs the bangs after it...
I think that's it. No clue how to use it in VS Code..
deflore08 wrote: ↑August 3rd, 2020, 2:27 pmI think that's it. No clue how to use it in VS Code..
Yeah, I was talking about using it in Rainmeter code, not VS code. The only thing missing is having Notepad++ (which is largely used to edit Rainmeter code, since it can do syntax highlighting through RainLexer) reacting to the vertical tab / line tabulation character by visually inserting a new line in the code. Since that wouldn't technically be a newline character but only produce a "new line" visual effect, it would allow Rainmeter to execute the bangs after it, just as if the bangs were one after another on the same line.
That would require someone to write such a line tabulation plugin for Notepad++, of course. I'm not sure if it's possible to change Notepad++'s behavior on such a low level, but maybe it is. Other software (I read somewhere that Microsoft Word does that...) use the line tabulation character to simulate a new line without actually using the newline character.