Line numbers

7 views
Skip to first unread message

Guy Rouillier

unread,
Aug 5, 2022, 9:08:19 PMAug 5
to sem...@googlegroups.com
I was just upgrading to the latest Windows version. In the past, I
always installed to an empty directory and migrated my settings and
modified macros by hand. This time, I decided to try the suggested
upgrade route of upgrading into the existing directory (after taking a
backup, of course), and it all worked pretty much as expected. Thanks
for making this work - much less manual work for me.

Next I tried to do something I obviously don't do often. As the email
subject suggests, I wanted to see if I could display line numbers, for
example in columns 1-5. Sometimes that is handy when editing source
code, doing diffs, etc. To my surprise, having used Semware editors for
30 years, I couldn't find this capability. I looked on the Semware web
site for a macro, and couldn't find that either. Most dedicated source
code editors and IDEs have this ability.

Has anyone figured out a way to do this? Appreciate any suggestions.

--
Guy Rouillier

Carlo Hogeveen

unread,
Aug 5, 2022, 9:45:08 PMAug 5
to sem...@googlegroups.com

A line numbers configuration option exists since TSE 4.4(0), which was released in 2005, so 17 years ago. You can find its configuration menu under "Display/Color Options" -> "Display/Layout Options" -> "Show Line Numbers". It is so old, that it is even documented in TSE's Help. You can configure the colors for the line number column with the configuration menu "Display/Color Options" -> "Set Colors" -> "Select Editing Colors" -> "LineNumbers". The width of the line numbers column automatically adapts to the size of the largest line number in each buffer.



Guy Rouillier

unread,
Aug 5, 2022, 10:29:37 PMAug 5
to sem...@googlegroups.com
Thank you, Carlo! Works great - I simply couldn't find it. Not easy to
find by searching the help either.

--
Guy Rouillier

On 8/5/2022 9:45:03 PM, "Carlo Hogeveen" <t...@ecarlo.nl> wrote:

>
>A line numbers configuration option exists since TSE 4.4(0), which was released in 2005, so 17 years ago. You can find its configuration menu under "Display/Color Options" -> "Display/Layout Options" -> "Show Line Numbers". It is so old, that it is even documented in TSE's Help. You can configure the colors for the line number column with the configuration menu "Display/Color Options" -> "Set Colors" -> "Select Editing Colors" -> "LineNumbers". The width of the line numbers column automatically adapts to the size of the largest line number in each buffer.
>
>
>
>--
>--- 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 on the web visit https://groups.google.com/d/msgid/semware/000a01d8a936%2426be1830%24743a4890%24%40ecarlo.nl.

Reply all
Reply to author
Forward
0 new messages