View previous topic :: View next topic |
Author |
Message |
itsatomic
Joined: 12 Jun 2006 Posts: 38
|
Posted: Thu Jul 27, 2006 11:17 am Post subject: Bookmark or determine first non space character on line |
|
|
It would be nice if you could determine the position of the first (non space) character in a line, for bookmarking purposes. I know you can execute the command (smFirstLetter), however I would like to determine this for any chosen line without moving the caret to that location.
Something like:
TSyntaxMemo.FirstLetter(Line : Integer) : Integer;
Thanks
Aaron |
|
Back to top |
|
|
itsatomic
Joined: 12 Jun 2006 Posts: 38
|
Posted: Thu Jul 27, 2006 12:06 pm Post subject: |
|
|
Ok, I looked around a bit more and just grabbed your FirstLetter function and used that. |
|
Back to top |
|
|
|