-------- Message original --------
Sujet: Re: [PyQt] highlighting different language in one document
Date : Fri, 23 Sep 2011 09:40:58 +0200
De : Vincent Vande Vyvre <vincent.vandevy...@swing.be>
Pour : 최원준 <wonjunchoi...@gmail.com>


Le 23/09/11 08:15, 최원준 a écrit :
Is there any python example?


2011/9/23 Vincent Vande Vyvre <vincent.vandevy...@swing.be>
Le 23/09/11 07:49, 최원준 a écrit :
can I highlight dfferent language(python, c, fortran) in one document?

for example,

----------------------------------------------------------------

#_begin_python_
--> set python lexer
#_end_python_

#_begin_c_
--> set c lexer
#_end_c_

#_begin_fortran_
--> set fortran lexer
#_end_fortran_

----------------------------------------------------------------

Wonjun, Choi
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
All you need is here:

http://www.riverbankcomputing.co.uk/static/Docs/QScintilla2/

Cheers

--
Vincent V.V.
Oqapy . Qarte+7 . PaQager

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

An editor for .desktop file:

http://bazaar.launchpad.net/~vincent-vandevyvre/paqager/paqager/files

Look the files:
    desktopHandler.py
    lexerDesktop.ui
    ui_desktop.py

with some minor changes you should run desktopHandler.py

--
Vincent V.V.
Oqapy . Qarte+7 . PaQager


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to