Commit Graph

11 Commits

Author SHA1 Message Date
Leandro Melo
55b26868e6 Generic highlighter is now part of the text editor plugin. 2010-05-20 14:10:34 +02:00
Leandro Melo
7400557f8c Fix in Utils::unCommentSelection to consider initial whites spaces when there's no selection and single line comment style. 2010-05-14 10:12:24 +02:00
Leandro Melo
e7ddd2b80b Changed < for <= in Utils::unCommentSelection to catch cases where there are no characters (only a line end, for example) after the comment start mark.
Ex.:
/*
void f();*/
2010-05-14 10:12:24 +02:00
Leandro Melo
65ca06e0f0 Generalized Utils::unCommentSelection; Started implementing editor details (configuration by highlight definition, actions). 2010-05-14 10:12:21 +02:00
mae
495b7bff45 Comments starting at end of a line can not be uncommented
Task-number: QTCREATORBUG-1177
2010-05-07 15:40:07 +02:00
mae
08e4c30eb1 Improve (un)comment selection in C++ style
The patch makes the algorithm ignore empty (i.e. only whitespace)
blocks similar to emacs.
2010-03-26 14:30:14 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
6195035bbf Moved unCommentSelection() in creator/libs/util so we can use it for other C-like languages (e.g QML and JS). 2009-05-14 16:37:17 +02:00