EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bookmark or determine first non space character on line

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
itsatomic



Joined: 12 Jun 2006
Posts: 38

PostPosted: Thu Jul 27, 2006 11:17 am    Post subject: Bookmark or determine first non space character on line Reply with quote

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
View user's profile Send private message
itsatomic



Joined: 12 Jun 2006
Posts: 38

PostPosted: Thu Jul 27, 2006 12:06 pm    Post subject: Reply with quote

Ok, I looked around a bit more and just grabbed your FirstLetter function and used that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group