[PyQt] QtScintilla2 and fonts
kib2 at free.fr
Tue Jun 26 22:37:31 BST 2007
Phil Thompson a écrit :
> On Tuesday 26 June 2007 1:38 pm, kib2 wrote:
>> I'm trying to play with QtScintilla2 and something is going wrong :
>> editor = QsciScintilla()
>> font = QtGui.QFont()
>> the problem here is that the Margin font is set correctly, but not the
>> editor one.
>> Have you got any hint please ? Thanks.
> Works for me.
> PyQt mailing list PyQt at riverbankcomputing.com
you are right, but I badly expressed myself.
In fact, I wanted all the different styles to use "Consolas" fonts.
So I've read the QScintilla docs and found the save/writeSettings method
from a lexer, but never managed to get it work correctly.
Can you please give me a sample ?
I've tried to see a edge line at column 80, but failed.
Here's the code :
## Edge Mode
More information about the PyQt