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)