[Qt-creator] Code-editor reuse
Diego Iastrubni
diegoiast at gmail.com
Mon Feb 9 10:22:21 CET 2015
Not entirely true.
I already did it, and it "was not that hard". The problem - is syncing the
code back. As I modified some of the namespaces, and I had to create a few
classes (yes, the editor is a little tied with the rest of the QtCreator
infrastructure) syncing back the code from your updates is manual labor
(note to self - last sync was in the 2.x days... I assume this needs to be
updated again).
https://code.google.com/p/qtedit4/source/browse/#svn%2Ftools%2Fqtsourceview%2Fsrc%2Fqate
On Mon, Feb 9, 2015 at 10:02 AM, Ziller Eike <Eike.Ziller at theqtcompany.com>
wrote:
>
> > On Feb 8, 2015, at 2:47 PM, Aaron Lewis <the.warl0ck.1989 at gmail.com>
> wrote:
> >
> > Hi,
> >
> > I'm trying to create a simple editor.
> >
> > I really like the one used in QtCreator, is there any way to use it
> separately?
>
> Definitely not without pulling in many other classes from Qt Creator,
> and/or manually commenting out a lot of code.
>
> Br, Eike
>
> > I tried this link, but it has multiple problems, e.g the left line
> > number area sometimes is not aligned with the text on the right side
> > http://qt-project.org/doc/qt-4.8/widgets-codeeditor.html
> >
> > --
> > Best Regards,
> > Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
> > Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
>
> --
> Eike Ziller, Senior Software Engineer - The Qt Company GmbH
>
> The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
> Charlottenburg, HRB 144331 B
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150209/62ce8b5f/attachment.html>
More information about the Qt-creator
mailing list