User forums > Help

bizarre editor behavior in 8.02 (win32)

<< < (2/5) > >>

Jenna:
It's definitely a scintilla-problem. I just tested a larg one-line-.js-file in C::B and Scite.

And the behaviour is similar and sometimes very strange, like suddenly showing the line two times with a carte that's two lines high, or writing parts of the text at the same place, so that they get unreadable, or showing the text like blanks.

Ceniza:
Sir Thomas found a way to reproduce it:

Create a new empty file (you don't need to save it) and write a long line, like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa. Now, select that and then press Ctrl+D and keep it pressed for a while (or just copy and paste it over and over again), so it produces a huge line. At some point the selected portion will continue visible and selected, but the new text will be invisible.

MortenMacFly:

--- Quote from: Ceniza on March 06, 2008, 12:03:10 pm ---Sir Thomas found a way to reproduce it:

--- End quote ---
It seems it's not Sir but Master. ;-)


--- Quote from: Ceniza on March 06, 2008, 12:03:10 pm ---Create a new empty file (you don't need to save it) and write a long line, like

--- End quote ---
Confirmed with latest (wx)Scintilla here, too. As you can see: The limit is a 64k border. As soon as the line is more than 64k this will happen.

Seems like another "64k is enough" issue... :lol: :lol:

MortenMacFly:
LOL! It's fun playing around with a 65536 column line and a 65537 column line... Really funny. :lol: :lol: :lol:

MortenMacFly:
Ok... it's even worse. I guess I know why - the reason is WX! :?
wxScintilla works internally with wxCoord. If you look into wx/defs.h you will read:

--- Code: ---typedef int wxCoord;
--- End code ---
Dammed. Nothing we can do about therefore. :| :( :cry:

Edit: Well... we could by e.g. changing this typedef to long and adjusting the other million parts of WX if needed and then provide our own WX version... How about that? :lol:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version