Commit Graph

46 Commits

Author SHA1 Message Date
Leandro Melo
7528c6d617 Snippets: Feature enhancement start...
Provide an interface so users can create/edit/remove snippets.
2010-12-08 17:22:07 +01:00
mae
b14e54b458 Extend camel-case cursor movement
We now have different actions to bind to (saves us an explicit option).
Small fixes to state machines.

Done-with: Erik Verbruggen
2010-11-10 12:54:06 +01:00
Leandro Melo
368d982691 Generic highlighter: Prevent overlapping in the mime type registration.
Also add a progress bar for the registration process.
2010-08-18 17:49:43 +02:00
Roberto Raggi
254aff3978 Highlight the enumerators using the Static `char format'.
The new `Static' format will be used to mark all the static members, e.g. enumerators,
static functions, and static class members, but right now, it is used only for enumerators.
2010-08-09 18:07:09 +02:00
Roberto Raggi
3ab927ed74 Made the highlighting for virtual methods configurable 2010-08-09 14:34:57 +02:00
mae
cdf9d03e62 Fix (Un)FoldAll action naming
The action was forgotten in the rename from collapse to fold.
2010-08-08 15:28:37 +02:00
Thorbjørn Lindeijer
15e655b718 Made the highlighting for locals and fields configurable
Reviewed-by: mae
2010-07-15 17:11:16 +02:00
Leandro Melo
ce80ee4f5e Generic highlighter: Interface for automatic download of available definitions. Refactorings and changes in related parts of the code. 2010-06-11 13:02:53 +02:00
Leandro Melo
2dc7a6a1eb More functionality for the generic highlighter options. Other small changes. 2010-05-28 15:04:44 +02:00
mae
e07c34017e Rework code folding
The new and cleaner foldingIndent in the block user data will
make it easier to support other kinds of indentation for various
other programming languages (like Python).
2010-05-20 15:11:31 +02:00
Leandro Melo
4accb027a6 Removed xml from the mime type list of plain text editor. 2010-05-14 10:12:26 +02:00
con
3922be1b2e Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/texteditor/texteditoractionhandler.cpp
2010-05-11 13:39:21 +02:00
mae
87b3755b6f Missing actions in keyboard options
Task-number: QTCREATORBUG-61
2010-05-07 15:40:07 +02:00
André Fillipe
32ab9878fe Added Insert Line Above/Below actions to BaseTextEditor
The actions perform exactly like their counterparts in Eclipse: a new,
indented line is inserted above or below the current line and the text
cursor is moved to the start of the new line. The line where the cursor
was before the action was triggered remains unchanged.

The shortcuts are also like in Eclipse: "Ctrl+Shift+Return" inserts a
line above the current, "Shift+Return" inserts a line below the current.

Merge-request: 140
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-05-03 17:03:11 +02:00
Thorbjørn Lindeijer
2d21060bc9 Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Thorbjørn Lindeijer
808198c41c Removed the "Join Lines Up" action
It was a bit confusing, since it reversed the order of the lines. When
this would be fixed, the added value of this action is very small, since
you can then also simply move your cursor one up before joining the
lines.
2010-01-21 15:18:06 +01:00
Falco Hirschenberger
ec2b738d61 Add join-line up/down feature to text editor
Merge-request: 1823
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Task-number: QTCREATORBUG-510
2010-01-21 15:18:06 +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
Friedemann Kleint
a8ac34c347 Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters
to the categories. Same for id/name.
2009-11-27 16:12:12 +01:00
mae
3a2974b3f9 some action cleanup for the qml editor
done with Erik Verbruggen
2009-10-01 13:34:02 +02:00
Roberto Raggi
7cf7683052 Mark unused symbols. 2009-09-23 18:07:17 +02:00
Erik Verbruggen
71549ec6a2 First version of QML navigation. 2009-09-11 14:42:50 +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
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
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
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
968a3c0f9f Added 'current line number' to color theme settings
Recently it was made to highlight black or write, which isn't nice for
everybody. Now it is dark gray by default, and can be customized. Bold
and italic are also supported.
2009-04-27 14:10:54 +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
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
8002b1a94c Customizable doxy formats. 2009-02-20 12:08:34 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Thorbjørn Lindeijer
57ab0b9e8e Changed categories used for pro file highlighting
Now reuses the colors set for Type and Keyword for the variables and
functions respectively. Having the categories Variable and Function in
the fonts and color settings was confusing.
2009-01-08 16:15:25 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +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
e594815842 two new actions: "select block up" and "select block down", current default is Ctrl+U 2008-12-04 19:25:20 +01:00
mae
e9ad023def block navigation and selection (bound to Ctrl+[]{} 2008-12-04 18:37:02 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00