mae
b440068d4d
refactor search result overlay painting
2009-12-02 10:57:05 +01:00
mae
18b9bdd413
some tuning of the overlay search result selection
2009-12-01 19:44:31 +01:00
mae
43f5b46649
increase threshold for highlighting of all search results to 2
2009-12-01 19:09:17 +01:00
mae
7d0d467980
obey the "auto-fold first comment" option also for reloads
2009-12-01 18:14:02 +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
0fffad22ad
Merge commit 'origin/1.3'
2009-12-01 15:58:09 +01:00
mae
7fa8574d98
fix extra area drawing with multi-line blocks when line wrap is enabled
...
The extra area only updated the current *line* when the cursor moved, not
the entire paragraph. This left bold line numbers behind. The fix adds
the required update region when the cursor position changes blocks.
2009-12-01 15:55:55 +01:00
mae
e2a899e354
improved search result selection with over and underlay
...
done with thorbjorn
2009-12-01 14:47:40 +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
mae
28e3ba5bfb
Fixed overlay selections
...
1. allow empty overlay selections
2. make it possible to bind a selection to a specified length
2009-11-30 13:57:47 +01:00
Oswald Buddenhagen
b0b5bde2e9
Merge remote branch 'origin/1.3'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/debugger/watchhandler.cpp
2009-11-27 20:06:01 +01:00
Thorbjørn Lindeijer
9ec55210c3
Set the brush origin in the BaseTextEditor for the WaveUnderlines
...
This is necessary since a recent change in Qt 4.6 to how the
WaveUnderline is drawn. It makes sure the WaveUnderline repeats
correctly from one text item to another.
Reviewed-by: mae
2009-11-26 16:36:39 +01:00
mae
f0b75092c5
fix windows clipping issue for search results
2009-11-26 15:26:56 +01:00
Roberto Raggi
049f8d535d
TODO: process the edit-ops.
2009-11-26 12:36:36 +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
mae
4ef2caca3a
Fix pasting of text that starts with a visually empty line
...
Creator only indents the first line, and reindents subsequent lines relative
to the indentation change of said first line. This fails when the first line
contains no non-space characters. Solution in this change: skip (visually) empty
lines.
Reviewed-by: thorbjorn
Task-number: QTCREATORBUG-227
2009-11-09 18:58:31 +01:00
mae
1e6a90bcb3
optimize extra area painting
2009-11-09 16:06:28 +01:00
mae
55dbc39ed0
Fix auto-indentation when pasting into a selection
2009-11-09 16:06:28 +01:00
mae
6043c639e3
fix redrawing issue with horizontal scrolling and line wrapping column
...
revby: Oswald Buddenhagen
2009-11-04 12:42:26 +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
6526143626
apply insert-whole-lines magic only if the cursor is at the beginning
...
of the line.
2009-10-27 15:22:45 +01:00
Roberto Raggi
1bb9a24517
Fixed syntax highlight of ifdefed-out code.
...
Done with mae
2009-10-08 13:02:25 +02:00
mae
b61969bebb
Fix repaint issue with collapsed blocks
...
BaseTextEdit's paint event relied on us setting the line count of
invisible blocks to 0. This was not always the case, causing pixel
garbage to occur.
2009-10-05 19:14:39 +02:00
mae
49dc962957
Fix collapsed block indicator
...
In combination with ifdef'ed-out blocks, the collapse block
indicator was sometimes painted with the ifdef'ed out color.
2009-10-05 18:49:10 +02:00
mae
961fe9ed8a
Fix QKeySequence::DeleteStartOfWord in auto-indentation mode
...
The changes enables the auto-parentheses magic of normal
backspace also for the DeleteStartOfWord case.
2009-10-05 15:18:28 +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
Christian Kamm
0cc5f14f29
Make [ start a block and trigger indentation in the qml editor.
...
Reviewed-by: erikv
2009-10-02 15:10:03 +02:00
mae
9bef75f8f9
fixed repaint issue with collapse-popups
2009-10-01 20:13:55 +02:00
Friedemann Kleint
74a3828f19
Purge out include files in exported headers
2009-10-01 16:38:08 +02:00
mae
dc40d764b3
small refactoring to avoid dependency on a current qt fix
2009-10-01 12:40:08 +02:00
Thorbjørn Lindeijer
ebf7ffa581
Fixed copy/paste to external applications
...
Make sure special characters are converted to proper plain text.
Done with mae.
2009-09-30 17:49:54 +02:00
mae
df13733b44
tune auto-indentation of pasted text further
2009-09-30 17:31:33 +02:00
mae
6d0e9badfb
tune auto-indentation of pasted text further
...
This implementation relies less on the pasted block of text having
a trailing newline.
2009-09-30 17:11:53 +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
3ca067ad12
tune auto-indentation of pastes
...
when pasting text which ends with a newline, we should not
reindent the final line, instead we will preserve the indentation
that was there.
2009-09-28 16:23:53 +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
4abe4d186c
In auto-indent mode, also indent pasted text.
2009-09-24 13:41:16 +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
Thorbjørn Lindeijer
0fed004ad4
Fixed the {begin,end}EndBlock to be used when inserting autotext
...
Based on a change by Denis Dzyubenko, done with mae.
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
c17edee606
Only auto-insert when the text right of the cursor seems unrelated
...
To avoid bothering people who are trying to type an expression that is
already partly there.
2009-09-16 17:33:34 +02:00
Thorbjørn Lindeijer
b8b37cb0b5
Fixed the completion to take into account auto parentheses insertion
...
Also skip semicolons in when auto parentheses insertion is enabled.
Done with mae.
2009-09-16 16:48:14 +02:00
Thorbjørn Lindeijer
9ff527e2aa
Check context when removing matching parentheses
...
Done with mae.
2009-09-16 16:28:32 +02:00
mae
a575cb18be
implement backspace for auto parentheses mode
2009-09-16 15:40:08 +02:00