Bruno Luciani wrote:
>
> Pritpal testCursor or TextCursor ?
>
Fast typing syndrome - textCursor().
I just try an using the same but
qCursor := QTextCursor():from( oEdit:textCursor() )
nRow := qCursor:blockNumber() + 1
nCol := qCursor:columnNumber() + 1
Works ok if I generate new lines or columns using enter
but If I am navigating an open file the number not change
This belongs to how and when and under which signal you
update the row/line info. Please review hbide/ideeditor.prg
for in-depth information.
-----
enjoy hbIDEing...
Pritpal Bedi
_a_student_of_software_analysis_&_design_
--
View this message in context:
http://n2.nabble.com/HBQPlainTextEdit-tp4578337p4581583.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour