Hi,

I have been looking into master's work for a few weeks and I am thinking of
refactoring the code to a stand alone library.

My goal is to make another implementation of a text editor component which
is in pair with the standards KatePart provides (they have a good feature
set). I want this under Qt4 only applications, for integrating this into
small projects.

My thoughts right now:

   1. This work can be done only after 2.2, when the code for the syntax
   highlighter stabilizes. I see that Leonardo is making a lot of changes
   internally and the internal naming of the classes still sux balls (really?
   "manager"?)
   2. When I fork the library I would like to Nokia integrate back the work
   and work on the "external project", which means the external library will
   need to get merged only at 2.4 (think "webkit" or "phonon").
   3. Initially I wanted to pull only the syntax highlighter, but after
   fidling with it I understand that I need to pull also some parts of the
   semantic analyzer as the syntax highlighter also takes cares of some error
   display, bracket/parethesis matching, and also has hooks for the semantic
   analyzer that runs in a separate thread to analyze the C++ code.
   4. Some code looks up for the CorePlugin (the MimeDatabase for example).
   I refactored this to use a MimeDatabaseManager, which eventually the
   CorePlugin can use.
   5. The whole project uses namespaces, which are quite tighted in. When I
   start changing them the project will be a lot of fun. Also think about (2).
   6. QtCreator is a moving target which this makes all of the above really
   fun.
   7. I am not sure if git provides the ability to pull changes in different
   files (my highlightdefinition.h is not at the same relative path as
   QtCreators one). See (6) and understand how fun this is.


Not impossible - but this demands more people helping and depends on Nokia's
support. I am not sure if they are interested, and if you want to blindly
fork, look at the "qt terminal components" available on http://qt-apps.org -
they all work, but all are obsolete and impossible to maintain, as they are
a "not smart" fork of the code in konsole.

- diego

On Sat, Jun 26, 2010 at 10:54 AM, Jefferson Bandeira <[email protected]>wrote:

> Hello trolls =)
>
> I Was wondering if there's a way I can get the Qt Creator Programming Text
> Editor standalone.. I mean, a program thats just like notepad++ or
> something, but with the functionalities the editor of QtCreator have, like
> his Wonderful Code Completion, Syntax Highlighting and such, i know there
> are a lot of "good" editors out there, but i got used to QtCreator and it
> isn't easy getting used to something worse after you get the wonderful =P
>
> The main reason is that sometimes I'm doing some works for my college and i
> need to program small things related to the classes, which most of the times
> is a single file and there ain't no need for a big complex project in
> QtCreator.
>
> I Know i could "always" carry a full install of Creator on my pen-drive,
> but that usually don't work, 'cause the PC needs to have Qt installed :/
>
> So, in a nutshell...
>
> Is there a way to transform the robust QtCreator IDE into a "light" Text
> Editor with the Code Completion and syntax Highlight? And, if there is a way
> or someone already did that, could someone point it out to me?
>
> Thanks for your time,
> Jefferson.
>
>
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to