<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
-------- Message original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Sujet: </th>
<td>Re: [PyQt] highlighting different language in one document</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date : </th>
<td>Fri, 23 Sep 2011 09:40:58 +0200</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">De : </th>
<td>Vincent Vande Vyvre <a class="moz-txt-link-rfc2396E" href="mailto:vincent.vandevyvre@swing.be"><vincent.vandevyvre@swing.be></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Pour : </th>
<td>최원준 <a class="moz-txt-link-rfc2396E" href="mailto:wonjunchoi001@gmail.com"><wonjunchoi001@gmail.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Le 23/09/11 08:15, 최원준 a écrit :
<blockquote
cite="mid:CANO3Hx3jU71hbMDKPOxpNtYYbQtTTxpC8aS8gAm7jHxn08OXHA@mail.gmail.com"
type="cite">Is there any python example?<br>
<br>
<br>
<div class="gmail_quote">2011/9/23 Vincent Vande Vyvre <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:vincent.vandevyvre@swing.be">vincent.vandevyvre@swing.be</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Le 23/09/11 07:49, 최원준
a écrit :
<blockquote type="cite">
<div>
<div class="h5">can I highlight dfferent
language(python, c, fortran) in one document?<br>
<br>
for example,<br>
<br>
----------------------------------------------------------------<br>
<br>
#_begin_python_<br>
--> set python lexer<br>
#_end_python_<br>
<br>
#_begin_c_<br>
--> set c lexer<br>
#_end_c_<br>
<br>
#_begin_fortran_<br>
--> set fortran lexer<br>
#_end_fortran_<br>
<br>
----------------------------------------------------------------<br>
<br>
Wonjun, Choi<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
PyQt mailing list <a moz-do-not-send="true" href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a>
<a moz-do-not-send="true" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
All you need is here:<br>
<br>
<a moz-do-not-send="true"
href="http://www.riverbankcomputing.co.uk/static/Docs/QScintilla2/"
target="_blank">http://www.riverbankcomputing.co.uk/static/Docs/QScintilla2/</a><br>
<br>
Cheers<br>
<font color="#888888"> <br>
<div>-- <br>
Vincent V.V.<br>
<a moz-do-not-send="true"
href="https://launchpad.net/oqapy" target="_blank">Oqapy</a>
. <a moz-do-not-send="true"
href="https://launchpad.net/qarte+7" target="_blank">Qarte+7</a>
. <a moz-do-not-send="true"
href="https://launchpad.net/paqager" target="_blank">PaQager</a></div>
</font></div>
<br>
_______________________________________________<br>
PyQt mailing list <a moz-do-not-send="true"
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a moz-do-not-send="true"
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt"
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote>
</div>
<br>
</blockquote>
An editor for .desktop file:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://bazaar.launchpad.net/%7Evincent-vandevyvre/paqager/paqager/files">http://bazaar.launchpad.net/~vincent-vandevyvre/paqager/paqager/files</a><br>
<br>
Look the files:<br>
desktopHandler.py<br>
lexerDesktop.ui<br>
ui_desktop.py<br>
<br>
with some minor changes you should run desktopHandler.py<br>
<br>
<div class="moz-signature">-- <br>
Vincent V.V.<br>
<a moz-do-not-send="true" href="https://launchpad.net/oqapy">Oqapy</a>
. <a moz-do-not-send="true" href="https://launchpad.net/qarte+7">Qarte+7</a>
. <a moz-do-not-send="true" href="https://launchpad.net/paqager">PaQager</a></div>
</body>
</html>