Fix it and send me a patch :) The bug is in the editor control, and yes, unfortunately I am using a mac, i will try to reproduce and fix.
On Mon, Feb 9, 2015 at 4:14 PM, Aaron Lewis <[email protected]> wrote: > That's good. > > Here's a question ... anyone running Mac? > > The font looked small so I added some random code in demo5 ... > > QFont font = editor->font(); > font.setPointSize(15); > font.setFamily("Monaco"); > editor->setFont(font); > > And it become ... mis-aligned: > http://oi62.tinypic.com/21c5cty.jpg > > Maybe I did something wrong .. > > > On Mon, Feb 9, 2015 at 5:22 PM, Diego Iastrubni <[email protected]> > wrote: > > 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 < > [email protected]> > > wrote: > >> > >> > >> > On Feb 8, 2015, at 2:47 PM, Aaron Lewis <[email protected]> > >> > 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 > >> > [email protected] > >> > 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 > >> [email protected] > >> http://lists.qt-project.org/mailman/listinfo/qt-creator > > > > > > > > -- > 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 [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
