Thorbjørn Lindeijer
a248406644
A bit of include cleanup
2009-12-08 18:22:52 +01:00
Thorbjørn Lindeijer
3d2d122472
Moved the mouse navigation option to the Behaviour settings page
...
It used to be hidden on the Display settings page.
Task-number: QTCREATORBUG-135
2009-12-08 18:22:52 +01:00
mae
480c9a5bf4
refactor rename selections
...
the new approach makes it possible to use more edit features
inside the rename selection like cut/copy/paste. Furthermore
it compresses rename operations better on the undo stack.
2009-12-03 18:35:36 +01:00
mae
18b9bdd413
some tuning of the overlay search result selection
2009-12-01 19:44:31 +01:00
mae
dc713d0684
added "auto-fold first comment"-option to the editor
...
Convenient when you don't want to see all the big license headers.
2009-12-01 18:08:47 +01:00
mae
b7635dda19
tune editor mouse cursor behaviour
...
the fix makes the mouse cursor visible when the editor loses focus.
This fixes an issue with the completion box, where on mac and windows
no mouse cursor would be visible (it worked on X11 due to the way
X11 does mouse grabbing for popup windows).
2009-11-30 19:14:48 +01:00
mae
d6e4a787d5
separate font zoom from font size
...
Introduce "Reset Font Size" action, bound to Ctrl+0
2009-11-30 19:01:04 +01:00
mae
32d0bc1ff2
some tuning of the layer extra selections
...
Remove overlap. Add extra selection tooltips for the cpp hover handler.
2009-11-30 17:24:06 +01:00
Roberto Raggi
756a67854a
Highlight unused symbols.
2009-11-30 15:21:48 +01:00
Roberto Raggi
32f67652df
Added getter/setters for the ChangeSet.
2009-11-26 12:20:13 +01:00
mae
53a3071580
first steps for a refactoring overlay system.
...
As side effect we can now play a bit with visualizing extra selections
2009-11-25 15:56:30 +01:00
Roberto Raggi
8fd0777ab0
Ensure the document is updated before invoking a quickfix.
2009-11-18 15:15:00 +01:00
Thorbjørn Lindeijer
2c115e934f
Make accidentally activating the link navigation more difficult
...
Only checking Ctrl and link availability on mouse release was triggering
the navigation too easily.
Now you have to press and release the mouse on the same link, having
Ctrl pressed all the time. In addition, when changing the text selection
the link is also cleared.
Task-number: QTCREATORBUG-134
Reviewed-by: con
2009-11-03 17:52:37 +01:00
mae
c035290602
add standard cut/copy/paste actions (if available) to the cpp editor's context menu
...
at a later stage we will look into harmonizing context menu among different editors.
The cpp editor had the biggest need, because its context menu features all sorts of
extra refactoring operations, thus the standard Qt context menu became too large.
2009-11-02 14:03:38 +01:00
mae
3c96e840d8
Fix (un)collapse all
...
In combination with ifdef'ed out blocks (un)collapse all would
possibly never expand the blocks again.
2009-10-05 18:49:10 +02: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
Friedemann Kleint
74a3828f19
Purge out include files in exported headers
2009-10-01 16:38:08 +02:00
mae
0ed9043c34
tune auto-indentation of pasted text
...
auto-indentation of pasted text now only happens when complete
lines including a trailing paragraph separator are copied and pasted.
In addition, the reindent() functions ensures that the relative indentation
within the pasted block is preserved. This mechanism is now also used for
moving lines up/down.
Done with thorbjorn
2009-09-29 12:46:04 +02:00
mae
36fb96b69d
fix auto braces with preprocessor directives
...
We now exclude brace in ifdefed out sections when calculating,
whether or not the braces match. This requires adjust the brace
levels whenever sections get ifdef'd out or ifdef'd in again.
2009-09-25 17:23:14 +02:00
Erik Verbruggen
91a492a562
Reverted a change which introduced a duplicate action for
...
(re-)formatting.
2009-09-25 10:47:04 +02:00
mae
321dbba50f
Fixed artefact of animated parentheses when the text is modified.
...
Bug-number: QTCREATOR-154
2009-09-23 12:51:01 +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
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
Erik Verbruggen
71549ec6a2
First version of QML navigation.
2009-09-11 14:42:50 +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
mae
9b4055122c
Fix code folding issue with empty nested blocks like in:
...
void main()
{
{
}
int i;
}
2009-09-07 16:15:59 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Henrik Abelsson
f053ec8c14
Initial support for emacs like fill-paragraph.
...
Merge-request: 882
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2009-07-21 10:50:20 +02:00
con
baaf7b1d62
Less QToolBars in editor tool bar.
2009-07-16 18:06:38 +02:00
Thorbjørn Lindeijer
609e3c7f6b
Update the current line highlight when its color might have changed
...
Fixes the issue where it would stay the color of the previous color
scheme until you change the cursor position.
2009-07-15 16:12:24 +02:00
mae
aa630932b1
make zoom-in/-out apply to all editors
2009-06-17 19:12:57 +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
df99d5447f
Initial work on "Quick Fix".
2009-06-08 14:32:42 +02:00
con
c49412ac3a
Prepare for being able to add find flags that are not in QTextDocument
2009-05-29 17:03:10 +02:00
Thorbjørn Lindeijer
5208444d7a
Merge branch 'copylines'
...
Conflicts:
src/plugins/texteditor/texteditorconstants.h
2009-05-18 12:34:12 +02:00
Serge Ratke
2dd046640d
implementation of copy lines up/down functionality
2009-05-15 23:17:11 +02:00
Thorbjørn Lindeijer
9a79a06930
Introduce a Delete Line action that doesn't copy to clipboard
...
The version that does copy to clipboard is now called Cut Line, and is
still mapped to Shift+Delete by default.
2009-05-14 17:55:17 +02:00
Thorbjørn Lindeijer
358a355315
Fixed faked transparency of folding makers with Plastique style
...
Plastique is manually blending with the background color, so make sure
we set the background to the highlight color when the folding marker is
hovered.
2009-05-05 10:25:18 +02:00
Thorbjørn Lindeijer
b7e12e23f4
Changed classic folding markers
...
This new look fits better with the new behaviour. Also, the
collapse/expand markers are now drawn by the style.
2009-05-04 11:13:31 +02:00
mae
b1a024e55b
some corner cases fixing
2009-04-29 16:46:54 +02:00
mae
ffe9fe58f7
support old-fashioned +/- folding bar, but improved
2009-04-29 15:37:38 +02:00
mae
94a713c38e
parentheses matching and block highlighting polishing
2009-04-29 12:17:42 +02:00
mae
3b917fde19
mac fix for parenthesis matching
2009-04-28 19:02:58 +02:00
mae
5df82ab502
experiment with a different way of doing parenthesis matching. This is not finished and
...
work in progress.
2009-04-28 18:34:58 +02:00
mae
b9e376f5dd
fix block highlighting off-by-one
2009-04-24 18:08:22 +02:00
mae
5f89921179
polishing of block highlighting, and a new folder bar.
2009-04-24 16:44:48 +02:00
mae
a71436649c
removed the folding ribbon from the default configuration, instead
...
turned a new block highlighting mechanism on.
2009-04-23 17:28:53 +02:00