Roberto Raggi
a49395a0ea
Made the indenter more Qt friendly. Added support for moc keywords.
2009-09-21 16:10:17 +02:00
Roberto Raggi
6c9670c3db
Use the backward scanner to indent labeled statements, ctor-initializers and access specifiers.
2009-09-21 15:14:28 +02:00
Roberto Raggi
4843f44c30
Don't allow auto parentheses when the token under cursor is a comment.
2009-09-18 12:28:15 +02:00
Roberto Raggi
9a799da6c9
Re-enable check for automatically inserted block end.
2009-09-17 18:54:12 +02:00
Roberto Raggi
da4fcd22ef
Pass the lookahead character to matching text.
2009-09-17 18:39:10 +02:00
Roberto Raggi
82b80b9e39
Automagically insert matching characters.
2009-09-17 17:58:00 +02:00
Roberto Raggi
dfa6be721d
Added the helper class MatchingText and use it to automagically insert text for curly braces.
2009-09-17 15:51:15 +02:00
Thorbjørn Lindeijer
b5dbcee370
Take the selected end as look ahead
...
Cause that's the relevant context.
2009-09-17 13:36:57 +02:00
mae
554f4fe679
ensure visibility for extra blocks that are auto inserted
2009-09-17 12:47:16 +02:00
mae
061865efa4
move auto parentheses handling into the cpp editor
2009-09-17 12:37:20 +02:00
Thorbjørn Lindeijer
66f2e3235e
Fixed the context in which automatic parentheses are placed
...
Done with mae and Roberto Raggi.
2009-09-16 16:27:41 +02:00
Thorbjørn Lindeijer
0e3515130b
Fixed spelling of method name
2009-09-16 15:38:30 +02:00
Thorbjørn Lindeijer
14b081f700
Don't insert automatic parenthesis in comments and strings
2009-09-16 13:56:34 +02:00
mae
20ab82ce73
make auto parentheses opt-in for individual editors. Currently
...
its only turned on in the cpp editor.
2009-09-15 17:15:11 +02:00
Thorbjørn Lindeijer
61ed06d58e
Moved mouse navigation into BaseTextEditor so that it can be reused
...
For implementing mouse navigation in the QML editor.
2009-09-08 13:05:25 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Roberto Raggi
90e7bac4d8
Made `Rename Symbol under Cursor' a command/action.
2009-08-04 13:44:54 +02:00
Robert Loehning
6479b201ee
Fixed: Mouse-navigation could not be disabled.
...
Reviewed-By: dt
2009-07-21 18:44:10 +02:00
con
6a88525aa3
Some more QToolBar changes.
2009-07-16 18:08:41 +02:00
con
baaf7b1d62
Less QToolBars in editor tool bar.
2009-07-16 18:06:38 +02:00
Thorbjørn Lindeijer
8cc916a0ca
Added categories for occurrences and for renaming occurrences
...
So they can be adapted in the color schemes.
2009-07-14 10:38:41 +02:00
Roberto Raggi
fff9795a1f
Reuse as much info as we can from the previous SemanticInfo.
2009-07-10 12:42:56 +02:00
Roberto Raggi
b1f9711859
Cleanup
2009-07-10 12:42:56 +02:00
Roberto Raggi
8f6956e6ec
Ignore outdated semantic info.
2009-07-10 12:42:56 +02:00
Roberto Raggi
fd4dbd7446
Introduced Snapshot::simplified(doc)
2009-07-10 12:42:55 +02:00
Roberto Raggi
e0f550733e
Simplified SemanticInfo::Use.
2009-07-09 17:34:07 +02:00
Roberto Raggi
97f8850a74
Introduced SemanticHighlighter
...
Done with Thorbjørn Lindeijer
2009-07-09 12:14:00 +02:00
mae
d430a4123b
fix uses selection (type with block and line numbers)
2009-07-08 16:38:50 +02:00
Roberto Raggi
eb7dfc49a0
Made FindScope a member of FindUses.
2009-07-08 13:50:49 +02:00
Roberto Raggi
981b1354cc
Don't call abortMove() when the editor is not in renaming-state.
2009-07-02 18:38:21 +02:00
Thorbjørn Lindeijer
7196c94c65
Unduplicated code that applies an edit operation to all occurrences
2009-07-02 15:18:51 +02:00
Thorbjørn Lindeijer
b11d3606c2
Fixed behaviour of Home and End while renaming
...
Also allow starting to rename with the cursor at the end of the name.
2009-07-02 12:27:11 +02:00
Roberto Raggi
ee6d2df072
Removed unused code.
2009-07-02 11:16:14 +02:00
Thorbjørn Lindeijer
c55eb917e4
Abort rename when text is changed due to unsupported actions
...
Done with Roberto Raggi and mae.
2009-07-02 10:48:03 +02:00
Thorbjørn Lindeijer
d9c8f945a5
Added in-place renaming
...
Done with Roberto Raggi
2009-07-02 10:48:02 +02:00
Roberto Raggi
0a610c3b66
Improved the use highlighter.
2009-06-26 09:48:40 +02:00
Roberto Raggi
8433ba2d32
Store the NameAST*
2009-06-26 09:22:30 +02:00
Roberto Raggi
cdc7f03267
Visit the new expressions when search for uses.
2009-06-25 16:18:05 +02:00
Roberto Raggi
c6968d956e
Mark the externals
2009-06-25 16:11:46 +02:00
Roberto Raggi
b95926c8ee
typo
2009-06-25 15:18:19 +02:00
Roberto Raggi
b98fbf68c5
Use the hardcoded lightGray background for marking the uses of a local name.
2009-06-25 14:15:37 +02:00
Roberto Raggi
27f92695cf
Initial work on smart highlight of local symbols. For-statements and symbols genarated from a macro expansion are not yet highlighted.
2009-06-25 12:48:55 +02:00
Roberto Raggi
0481176ea7
Highlight the locals.
2009-06-24 16:40:52 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
4f4f767b2b
Merge commit 'origin/1.2'
2009-06-16 14:58:28 +02:00
Thorbjørn Lindeijer
aa2836f1dc
Fixed the alignment of the line/column number label
...
This depended on a stretch that was removed. Instead, make the stretch
factor of the stretch 0 and make sure that the method boxes used by the
CppEditor and ScriptEditor take all its space.
Reviewed-by: con
2009-06-16 14:29:23 +02:00
Roberto Raggi
e2a0a4d7c5
Keep the original encoded text around while preprocessing.
2009-06-15 15:39:20 +02:00
Roberto Raggi
752dd880e0
Show how to simplify declarations. e.g.
...
static int i, *ptr = &i;
will be replaced with
static int i;
static int *ptr = &i;
using the editor's context menu > Simplify Declarations
2009-06-05 14:30:18 +02:00
Thorbjørn Lindeijer
e54bf750d9
The reformat document action isn't useful yet, removed for 1.2
2009-06-04 11:57:58 +02:00
Lorn Potter
55e7f65533
Fixes: make method combo take up more space on the toolbar, so long
...
class and method names can be seen.
Task: <task number>
Details: <additional information>
2009-05-29 04:49:31 +10:00