No scroll end after indentation

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Nico
Enthusiast
Enthusiast
Posts: 274
Joined: Sun Jan 11, 2004 11:34 am
Location: France

No scroll end after indentation

Post by Nico »

Hello,

Please add these two line in the code of the PB editor for the indentation (CTRL+I) otherwise the editor scroll end and we lose the line where they worked:

Code: Select all

FirstLineVisible = SendMessage_(HandleScintilla, #SCI_GETFIRSTVISIBLELINE,24,0)
SendMessage_(HandleScintilla, #SCI_SETFIRSTVISIBLELINE, FirstLineVisible, 0)