Orgad Shaneh
be443b8edb
CppTools: Compile with QT_NO_CAST_FROM_ASCII
...
Change-Id: I31a6117c2b4be3f8603c16a9f98b6937a0b9aeb2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2012-11-22 09:40:14 +01:00
Erik Verbruggen
9246e78d23
C++: started to make indexing plug-able.
...
Change-Id: Iff35840d73882a212dd77b54e4223c0b4111ac1c
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com >
2012-10-23 09:26:19 +02:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
Erik Verbruggen
6fe6f5cdb1
C++: make highlighting/completion plugable.
...
Change-Id: I990fdf5411153041c6b4c62f31b453342d59de53
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-20 14:21:22 +01:00
Eike Ziller
d66acb51d0
Rename IFile->IDocument and FileManager->DocumentManager
...
And adapt the other API respectively.
Change-Id: I1e04e555409be09242db6890f9e013396f83aeed
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-20 13:32:49 +01:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
Erik Verbruggen
dbc3332b8e
C++: Moved completion/highlighting into the model manager.
...
This way the editor does not need to know all the details of
instantiating or maintaining classes for highlighting and/or completion,
it can just ask the model manager. The change also enables different
highlighting- or completion-engines without changes to the cppeditor.
Change-Id: I8000d9d9fe446b292defddb2295493cf77d0f14a
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-02-08 14:30:14 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
hjk
f576ad9f2c
texteditor: merge ITextEditable into ITextEditor
...
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
2011-02-22 11:23:53 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Erik Verbruggen
e3e8b1a5c0
Removed the TokenCache.
2010-07-02 11:18:51 +02:00
Erik Verbruggen
e42ca194c5
Introduced token caching to prevent repetetive tokenizing.
...
Also removed TokenUnderCursor as it's functionality is in the token cache.
Reviewed-by: ckamm
2010-06-14 10:10:05 +02:00
Erik Verbruggen
424b9724d6
Revert "Introduced a token cache for the C++ editor."
...
This reverts commit c2393df023 .
2010-06-04 12:37:26 +02:00
Erik Verbruggen
c2393df023
Introduced a token cache for the C++ editor.
...
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
Roberto Raggi
3e9faabf9e
Removed obsoleted code.
2010-05-25 17:15:21 +02:00
Roberto Raggi
645cfb59ba
Ignore outdated parsing requests.
2010-03-24 15:54:13 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Roberto Raggi
51de95c497
Use the text editor revision to ignore outdated parse results.
2009-12-15 15:52:55 +01:00
Roberto Raggi
c13b8697d2
Introduced the quick fix engine
2009-11-13 16:14:38 +01:00
Roberto Raggi
e9a97ea6a4
Initialize m_line and m_column
2009-10-21 17:05:36 +02:00
Friedemann Kleint
74a3828f19
Purge out include files in exported headers
2009-10-01 16:38:08 +02:00
Roberto Raggi
8356d3360b
Delay the parsing of the document.
2009-09-30 16:13:43 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Thiago Macieira
d0457b70e3
Compile the C++ parser library with Sun CC 5.9.
...
Things you mustn't do:
1) end an enum with a comma
2) #include <cxxxx> and not use std::
3) use anonymous structures
All three things are invalid C++. Anonymous structures inside
anonymous unions are allowed by GCC, but that doesn't mean it's valid.
2009-08-03 14:59:42 +02:00
Roberto Raggi
43a957e6e3
Disabled the quick fix engine.
...
We don't really have any useful quickfix implemented so there's no reason
to waste time visiting the AST.
2009-07-07 17:06:11 +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
e2a0a4d7c5
Keep the original encoded text around while preprocessing.
2009-06-15 15:39:20 +02:00
Roberto Raggi
769d6282bd
Some work on rewriting conditionals.
2009-06-09 14:50:32 +02:00
Roberto Raggi
132258753a
More work on `Quick Fix'.
2009-06-09 13:52:52 +02:00
Roberto Raggi
c4877cf641
oops! removed some useless debug statement.
2009-03-02 17:43:48 +01:00
Roberto Raggi
b74fcb7702
Cache the UTF-8 encoded contents of the text editors, and some cleanup in updateEditorSelections().
2009-03-02 16:31:59 +01:00
Roberto Raggi
a8cfda0ddb
Introduced CppTools::EditorSupport::contentsChanged().
2009-03-02 16:31:59 +01:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
Thorbjørn Lindeijer
dd54cc6a7a
Don't remove syntax errors on each document change
...
Especially when several error markers exist, the flashing this causes
while editing isn't really nice.
Reviewed-by: Roberto Raggi
2009-02-11 15:03:50 +01:00
Roberto Raggi
f3c2bbaabe
Less annoying syntax checker.
...
(cherry picked from commit 9539bb2b28 )
2009-02-11 15:03:31 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
hjk
df7aacd637
more file cosmetics
2008-12-02 15:08:31 +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