Small highlight bug

Working on new editor enhancements?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Small highlight bug

Post by Trond »

If you accidentally hold down Ctrl when you press enter, the formatting of the last character of the old line spills over onto the first character in the new line every time the old line is re-highlighted.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Small highlight bug

Post by PB »

Huh? I don't get what you mean, and I've been trying it. Can you give steps?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

1. Open a new file
2. Type debug 1234
3. Press Ctrl+Enter
4. Type debug 1234
5. Press arrow up
6. Press arrow down
The D in the second D flashes red.
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Confirmed (4.10 Final, XP SP2).
Although it really just flashes, so very minor bug.
Could be a scintilla issue, too...
Windows 7 & PureBasic 4.4
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Code: Select all

Debug $1000

#CCS_NOHILITE	= $10

a = $3
Debug $d

The second and third $ aren't coloured correctly in 4.20 beta 2.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

The dot has the colour of numbers:

Code: Select all

*ptr.rect
Post Reply