TSE: Linux: How to show highlight marked text?

9 views
Skip to first unread message

knud van eeden

unread,
May 30, 2025, 6:46:56 AM5/30/25
to SemWare TSE Pro Text Editor
TSE: Linux: How to show highlight marked text?

Hello,

1. I tried to highlight text (as I usual do similar in TSE for Microsoft Windows)
   but now in TSE for Linux, but it did not highlight the marked text at all.

2. Steps to reproduce:

    1. Put you cursor on the beginning of the text to mark

    2. Press <Alt a> 
       (which will start a MarkStream())

    3. Move your cursor to the end of the text to mark.

    4. Press <Alt a> again 
       (which will end that MarkStream())

    5. Result: the color of the marked text does not change at all.

    6. But instead expected was: the color of the marked text should change to some other color to indicate that that text was marked.

3. Note I tried e.g. to use the mouse to select and mark that text, then there was indeed a visible color change, but selecting that block of marked text to e.g. TSE copy() it did not copy it. So no workaround there with the mouse instead either it seems.


Thanks
with friendly greetings
Knud van Eeden



knud van eeden

unread,
May 30, 2025, 7:05:54 AM5/30/25
to SemWare TSE Pro Text Editor
Solution:

It is thus that cursorline color issue again being almost the same color as the marking text color.

There is thus almost no contrast between the color of the cursor line and the color of the marked text 
and it is almost invisible change here on the monitor used (with night light on).

Marking works thus it shows.


Guy Rouillier

unread,
May 30, 2025, 7:32:22 AM5/30/25
to SemWare TSE Pro Text Editor
Note that if you have a custom color scheme configured under Windows TSE, you can save off your configuration into a file (Options - Full Configuration - Write Settings to ASCII File). Then copy that file to your Linux system, and use sc32 go burn that configuration into the Linux TSE editor.  You can do the same if you've customized a ui file; for example, I've modified tse.ui to include my preferences.

I haven't done this in a long time, so I may be forgetting some fine tuning I had to do to get Linux TSE to have the same colors as Windows TSE.  I'm vaguely remembering that, for example, Linux's blue didn't look exactly like Windows blue.  Unfortunately, Linux has quite a few different components that can affect terminal colors.  Rather than manually modifying the colors specified in the saved TSE settings file, I opted instead to modify the color palette employed by the Linux terminal program I use.  I primarily use the Ubuntu MATE OS, and MATE Terminal as my terminal program.  This way, I don't have to change my TSE color selections.

--
Guy Rouillier
--

---
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/1960499509.3064172.1748603148919%40mail.yahoo.com.

knud van eeden

unread,
May 30, 2025, 8:02:27 AM5/30/25
to Semware TSE Pro, S.E. Mitchell
I can thus reproduce it on a basically clean TSE for Linux for WSL and also TSE for Linux for non-WSL,
both with TSE 4.50 Official Release version and the latest 4.50.6 version.

But I would certainly try to change (only) the marked text highlighting color (to be different than the cursorline color).

What would be the easiest and simplest way to do this? (e.g. in the ui or cfg file)

Something like:

 1. Change (only) the marked text color value in some ui or configuration file

 2. Then burn that change in that filename into 'e' using sc32

     ./sc32 -B <somefilename>

Thanks
with friendly greetings
Knud van Eedend


Claus Futtrup

unread,
May 30, 2025, 10:23:22 AM5/30/25
to sem...@googlegroups.com
Hi TSE Users

The issue with lack of contrast was brought up a few months ago.
In my opinion, TSE should offer a standard default setting that isn't problematic.

With kind regards,
Claus

knud van eeden

unread,
May 30, 2025, 11:30:11 AM5/30/25
to Semware TSE Pro, S.E. Mitchell


 Q. TSE: How to show highlighted marked text again by changing the cursorline color?

Steps: Overview:

 1. -See also the inline screenshot

 2. -Backup

      ui/tse.cfg

       E.g.

        Microsoft Windows

         copy ui/tse.cfg ui/tseORIGINAL

        Linux

         cp ui/tse.cfg ui/tseORIGINAL

 3. -Edit ui/tse.cfg

 4. -Locate the line

      CursorInBlockAttr       = Color(Intense Black on Green)

 5. -Replace it (by adding '//' in front) the old very good visible value and adding below it the line

      CursorInBlockAttr       = Color(Intense Bright White on Blue)

 6. -Save the file ui/tse.cfg

 7. -Make sure you are not running TSE

 8. -Run the command

      If Microsoft Windows

       sc32.exe -B ui/tse.cfg

      If Linux

       ./sc32 -B ui/tse.cfg

 9. -Start TSE again and the color marking issue is gone.

10. -Tested successfully in

      1. TSE for Microsoft Windows version 4.50.6

      2. TSE for Linux 4.50 Official Release on Linux WSL Ubuntu

      3. TSE for Linux 4.50 Official Release on Linux non-WSL Ubuntu

11. -Note: This color change from blue to green
           was made by Semware
           since
           TSE for Windows version 4.50 Official Release
           and
           TSE for Linux 4.50 Release Candidate 23

with friendly greetings
Knud van Eeden


Inline image






On Friday, May 30, 2025 at 02:02:20 PM GMT+2, knud van eeden <knud_va...@yahoo.com> wrote:


I can thus reproduce it on a basically clean TSE for Linux for WSL and also TSE for Linux for non-WSL,
both with TSE 4.50 Official Release version and the latest 4.50.6 version.

But I would certainly try to change (only) the marked text highlighting color (to be different than the cursorline color).

What would be the easiest and simplest way to do this? (e.g. in the ui or cfg file)

Something like:

 1. Change (only) the marked text color value in some ui or configuration file

 2. Then burn that change in that filename into 'e' using sc32

     ./sc32 -B <somefilename>

Thanks
with friendly greetings
Knud van Eeden


Reply all
Reply to author
Forward
0 new messages