SciNotes overprinting code onto line numbers

Hi People :slightly_smiling_face:

My SciNotes editor keeps misbehaving.

The code I have written gets printed over the line numbers, or perhaps it’s the other way round - the code becomes unreadable.

I can get around it by increasing or decreasing the text size, but the fault frustratingly soon returns.

I’ve tried changing text size and font, I’ve tried restarting Scilab, to no avail, and I’ve tried resetting SciNote preferences to default.

I’m sure it’s something simple, but what?

Thank you for your consideration.

Mark

Hello,

Can you be more precise, particularly about the Scilab version and the architecture and OS of your computer ?

S.

Hi :slight_smile:
I beg forgiveness for the delay.
This is a Win11 Machine. The maker assures me it is an Intel 15 4 core processor.
My Scilab version is 2025.0.0
Please just ask for anything else if I can help
Mark

Can I have a screenshot ?

Can you try to zoom out with the mouse wheel ?

here’s a pretty bad zoom. The screen looked good until I clicked the mouse 1 step of zoom-in.
You asked for zoom-out but it looks pretty similar.
:slight_smile: Thanks

(attachments)

Can you remove your preferences file ? Just do

deletefile(fullfile(SCIHOME,"XConfiguration.xml"))

and restart Scilab, then open SciNotes to see if the problem remains. FYI changing the SciNotes font size with the mouse wheel needs to keep CTRL pressed while wheeling.

S.

Hi Stéphane
I dropped the suggested command onto the console.
The command was acknowledged with T.
I restarted Scilab and found that the problem persists.
I was somehow aware of the need to press CTRL to expand the font - that’s what I’ve been doing quite a lot. This often causes the display problems with which I presented you… it’s the main way things go wrong.
Mark

Please see the snapshot of Scinotes, attached.
In the top left corner of the screen, in a smaller and different font, please read “line 1”
The line number unintentionally printed on the top left of the screen can change according to the line I last clicked the mouse on.
Sometimes for a fleeting instant I seem to see, again down the left margin of Scinotes, part of a screen containing code which presumably pertains to the stuff I’m trying to run.
Mark

(attachments)

I’ll try a different, older version of Scilab.
Scinotes is unusable as is.

I don’t know quite what to do to help you help me.
I’ll install an old version for now, and see how that goes.

2025 and 2024 versions of Scilab do the same thing.

The computer guy at my end is certain the problem can’t be with either the hardware or the Win 11 operating system, so as everyone is baffled I suppose my only course is to get a new machine. That won’t happen straight away.
It is odd, that everything else works, though.
M

What kind of display do you use ? Is it a HIDPI display ?

S.

The display is an ACER KA222Q Widescreen LCD Monitor.

I wonder if there is a guaranteed way to completely uninstall Scilab, and start again with a fresh registry? It does sound a bit like re-installing Win11 doing it that way but my guy suspects registry corruption.

OK. This is a regular HD display so the problem cannot be there. Concerning the registry, Scilab uses it for the association of some file extensions (sce, sci, xcos, sod,…) to the Scilab executable, but all other user settings (customs fonts, …) are in

C:\Users\yourname\AppData\Roaming\Scilab

I suggest that you completely delete this directory first.

S.

:slight_smile:
I have done as you suggested, and made a clean install.
The problem has gone away.
Thank you very much - you have done me good.

1 Like