Improving macrodroid performance

md_sgf

Member
No idea how this works, but it does keep the 2-space indent, even after i remove all of it, and rename "action" to the text i want. That is curious indeed ⁉️ :)

1)
word (conditional) {
឵឵ ឵ action
}

2)
word (conditional) {
឵឵ ឵ my text
}

3)
឵឵ ឵ my text

If i do normally, then it doesn't keep the indent.

__my text
^ 2 spaces

my text
^ spaces have been "helpfully" removed (as forums seem to strip any leading & trailing spaces, & also spaces anywhere! forums are "space-averse" or "spacially-phobic". maybe they don't like any "emptiness" (empty spaces), as it makes them feel lonely? LOL)

All of this needed to be in a separate thread. Gone off on a "wild tangent" to topic of thread. Oh well, too late now!
 
Last edited:

md_sgf

Member
Trying some obscure ascii characters...

This WORKS !!! 😁 (U+2000)
a     b

a        b

     indented

This is the 2nd alternative character here.

Amazing! I wasn't expecting to find anything that worked. But what if the forum code get changed to also handle this character?
 
Last edited:

md_sgf

Member
Another good idea! (y)

text spaces text

If set "spaces" color to bg/forum white (or black/dark if dark mode or color inversion on)
---> text spaces text

Visually is effectively same as actual, normal spaces. And visually is all I'm after, ie to keep the indents/etc, so it's better for comprehension.

So, there's 2 main options
a) U+2000
b) use normal characters + background color
• option a will be better if want to copy/paste elsewhere (as will lose the colors, so option b will show the spaces as "garbage")
• option b might be able to set very precise indent/spacing down to 1 pixel (eg "#].", "_,", etc)
 
Last edited:
Top