Commit Graph

8 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
a6e5298591 Fixed handling of text wrapping and a text layout corner case
Due to using QTextCursor::columnNumber() instead of
QTextCursor::positionInBlock(), a lot of code would not work correctly
when used with wrapped lines.

In addition, there was an issue with columnNumber() returning 0 right
after inserting a character before the last character of a line.

Reviewed-by: mae
2010-06-15 12:25:01 +02:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Roberto Raggi
83e40337d9 Simplified the algorithm used to compute the expression under cursor. 2010-02-15 14:54:03 +01:00
Roberto Raggi
fd26a8c8ec Get rid of the QmlJS prefix. 2010-02-15 12:56:03 +01:00
Erik Verbruggen
8ecc80ec4c Generalized ExpressionUnderCursor and got rid of duplicate code.
Done-with: Roberto Raggi
2010-01-27 12:41:01 +01:00
Roberto Raggi
c943d8e4f1 Renamed classes and files to use the QmlJS prefix. 2010-01-18 16:59:20 +01:00
Erik Verbruggen
0f8126f62d Changed the QML/JS editor to treat .qs/.js files as JavaScript, and invoke the appropriate parser for it.
Reviewed-by: Christian Kamm
2010-01-18 13:40:47 +01:00
Erik Verbruggen
96e31c2a0f Started merging the JS and QML editor plug-ins. 2010-01-15 17:20:19 +01:00