how can I get current cursor prompt location in STC?
for example,
···
--------------------------------------------------------------------
in StyledTextCtrl
#__cursor_location_1_begin__
<- location 1
#__cursor_location_1_end__
#__cursor_location_2_begin__
<- location 2
#__cursor_location_2_end__
--------------------------------------------------------------------
Is there a way to check whether getcurrentpos() is between begin and end
···
2011/9/24 Robin Dunn robin@alldunn.com
On 9/22/11 9:16 PM, Wonjun, Choi wrote:
how can I get current cursor prompt location in STC?
GetCurrentPos()
–
Robin Dunn
Software Craftsman
http://wxPython.org
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Robin
September 26, 2011, 5:16pm
4
Well, that depends on if you know the positions of begin and end, right?
···
On 9/23/11 8:42 PM, 최원준 wrote:
Is there a way to check whether getcurrentpos() is between begin and end
--
Robin Dunn
Software Craftsman
the positions of begin and end can be changable. and what if I search the character(#begin ) line by line everytime in styletext() routine which is called by EVT_STC_STYLENEEDED event?
···
2011/9/27 Robin Dunn robin@alldunn.com
On 9/23/11 8:42 PM, 최원준 wrote:
Is there a way to check whether getcurrentpos() is between begin and end
Well, that depends on if you know the positions of begin and end, right?
–
Robin Dunn
Software Craftsman
http://wxPython.org
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en