GuideLines v1.1

25 views
Skip to first unread message

Carlo Hogeveen

unread,
Nov 9, 2025, 1:19:35 PM11/9/25
to sem...@googlegroups.com

https://ecarlo.nl/tse/ToolsAndExtensions.html#GuideLines

This extension makes TSE draw indentation guide lines.
In Windows graphically and in Linux with the vertical bar character.
You can configure the guide lines' color and in Windows also their density.

Bad news first:
It turns out the extension is incompatible with Windows Console TSE.
Ironically it turns out that graphics works just fine in Windows Console TSE.
Default the extension will silently no longer run in Windows Console TSE.
To see the incompatibility for yourself there is a switch: Read the macro's technical background info.

Good news:
In Windows guide lines are now drawn graphically.
Besides their color you can now also set their density,
from a very sparsely dotted line to a solid one.

Carlo



Knud van Eeden

unread,
Nov 10, 2025, 6:18:02 PM11/10/25
to sem...@googlegroups.com, Knud van Eeden
Very good.

with friendly greetings
Knud van Eeden

image.png

--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/005201dc51a5%24647b5410%242d71fc30%24%40ecarlo.nl.

zhong zhao

unread,
Nov 10, 2025, 8:11:41 PM11/10/25
to SemWare TSE Pro text editor
I think the guideline function is not as good as searching for different functions up and down, especially when looking for the same indentation across pages.
UpDownToDiff.s

H P

unread,
Nov 11, 2025, 12:13:44 PM11/11/25
to sem...@googlegroups.com
Carlo,
I found 2 strange errors with giodelines 1.1.1.
1. If you look at the jpg file you'll find that the line between proc at end stops at the blank line before the end.
2. Also in the nested if after the else branche you'll find a redsundant line.
guidelines.jpg
 


Met vriendelijke groet,
With kind regards,
Muy atentamente,
Mit Freundliche Gruß,
Sinceramente,


H. Pikaar

Henri...@gmail.com



Op di 11 nov 2025 om 02:11 schreef zhong zhao <zhao4...@gmail.com>:

Carlo Hogeveen

unread,
Nov 11, 2025, 1:01:47 PM11/11/25
to sem...@googlegroups.com

Hi H,

> I found 2 strange errors with guidelines 1.1.1.
> 1. If you look at the jpg file you'll find that the line between proc at end stops at the blank line before the end.

This is deliberate, and is even documented as a "nerdy detail" in its documentation.
It could be argued to be an imperfect detail, but because (in my opinion) it has two (documented) bigger advantages, I choose to keep the guide line drawing algorithm as it is.

> 2. Also in the nested if after the else branch you'll find a redundant line.

This extension's intent is to draw indentation guide lines, not syntax guide lines or code block guide lines.
Your "redundant" guide line is there, because indented far to the right there is a comment in the edited line.

So, in both cases you are not wrong, but your expectations do not match my intentions.
I determined an as simple as possible identation guide line algorithm that for all its simplicity gives a very good result.
Unless it turns out to have an outright flaw, I have no plans to make it smarter or more complex.

Carlo



Reply all
Reply to author
Forward
0 new messages