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
mae
4d708fa408
new text editor option "Highlight blocks"
2009-04-22 20:04:38 +02:00
hjk
285fa4a5b3
fakevim: remove "fakevim" option from text editor settings as it has a
...
page of its own now
2009-03-30 15:39:13 +02:00
Thorbjørn Lindeijer
f36ea6785c
Allow configuring the color for the hover links
...
Cause blue doesn't fit nicely in all color schemes.
2009-03-24 17:06:01 +01:00
con
37973823c5
One step to being able to jump back in a senseful way...
2009-03-19 16:37:05 +01:00
con
fc79c737b3
Add last edit position to navigation history.
...
Task: 240811
2009-03-19 16:37:05 +01:00
Thorbjørn Lindeijer
551b9f487e
Moving some code together that belongs together
2009-03-17 18:25:44 +01:00
Thorbjørn Lindeijer
70d5649428
Don't show code folding margin when it isn't supported
...
Introduce setCodeFoldingSupported to the BaseTextEditor, and only
enabled it for the C++ and QtScript editors. This removes the useless
margin meant for code folding markers from the plain text editor and
.pro file editor.
2009-03-17 18:25:44 +01:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
hjk
292d4bc3d5
Fixes: fakevim: provide an option in the text editor settings
2009-01-23 19:13:00 +01:00
hjk
15ac83eda4
Fixes: fakevim: add flags to settings page
2009-01-23 18:21:36 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
hjk
669b56fde9
add enum value for extra selections
2009-01-13 13:08:21 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
mae
d937ee5570
tweak collapse/expand short cuts, and do not draw collpase boxes
...
in ifdefed out sections
2008-12-12 14:09:56 +01:00
Roberto Raggi
f1e67fa3a3
Added `editorKind' to BaseTextEditor::openEditorAt(). We need it to force the CPPEDITOR kind
...
when opening files from the C++ editor (e.g. when the user press F2 on #include <QMutex>).
2008-12-11 10:28:39 +01:00
mae
8580234ec8
added Move Line Up and Move Line Down actions. Can be extended to
...
support statements later.
2008-12-10 18:01:33 +01:00
mae
1931304da1
add explicit "Clean Whitespace" advanced action
2008-12-09 17:43:31 +01:00
mae
6d37029be8
support different selection kinds in basetexteditor.
...
enum ExtraSelectionKind {
CurrentLineSelection,
ParenthesesMatchingSelection,
CodeWarningsSelection,
CodeSemanticsSelection,
OtherSelection,
NExtraSelectionKinds
};
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
QList<QTextEdit::ExtraSelection> extraSelections(ExtraSelectionKind kind) const;
This is mainly for the benefit of the cppmodelmanager.
2008-12-05 13:19:57 +01:00
mae
786e183aa6
markContextMenuRequested signal in ITextEditor
2008-12-05 12:12:20 +01:00
mae
4fd9f1e6f7
new signal: BaseTextEditor::lineContextMenuRequested(TextEditor::ITextEditor *editor, int line, QMenu *menu);
...
To be useful and used by the bookmarkmanager, this has to move to ITextEditor.
2008-12-04 19:33:23 +01:00