Recent

Author Topic: TSynEdit caret position on Win8.1  (Read 8140 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6819
  • Debugger - SynEdit - and more
    • wiki
Re: TSynEdit caret position on Win8.1
« Reply #15 on: March 03, 2015, 09:56:14 pm »
Btw:

LineText = SynEdit.Lines[SynEdit.CaretY - 1]


CaretY starts at 1
Lines[] start at 0


flamer0n

  • Guest
Re: TSynEdit caret position on Win8.1
« Reply #16 on: March 03, 2015, 10:09:01 pm »
I get it. However it was, I'm glad to know that CaretY is actually the Line, I hope it remains the same in the future releases or I'll stick to same version of lazarus until i die  :D

 

TinyPortal © 2005-2018