Browse Source

Some correction

v0.8.0
Ulrich Van Den Hekke 14 years ago
parent
commit
602da14c87
  1. 1
      WARNING
  2. 1
      libxinx/xinxformatfactory.cpp
  3. 6
      plugins/webplugin/qcodeedit/xml.qnfa

1
WARNING

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
- Paste (Ctrl+V) doesn't work
* From word
* Can't paste when i'm from XDME
* I have a crash in use (QVector index out of bound)
* Bookmark bar doesn't work

1
libxinx/xinxformatfactory.cpp

@ -38,6 +38,7 @@ void XinxFormatFactory::updateFormats() { @@ -38,6 +38,7 @@ void XinxFormatFactory::updateFormats() {
QFormat searchFormat, matchFormat;
searchFormat.background = m_config->config().editor.highlightWord;
matchFormat.weight = QFont::Bold;
matchFormat.foreground = Qt::red;
setFormat( "search", searchFormat );
setFormat( "match", matchFormat );

6
plugins/webplugin/qcodeedit/xml.qnfa

@ -23,11 +23,11 @@ @@ -23,11 +23,11 @@
<sequence id="entity" format="xml_entity">&amp;$w+;</sequence>
<context id="tag/start" >
<start format="xml_elementname" >&lt;[$w:\-]+</start>
<start format="xml_elementname" >&lt;[0-9$w:\-]+</start>
<stop format="xml_elementname" parenthesis="xmltag:open@nomatch" indent="0" fold="1" >&gt;</stop>
<stop format="xml_elementname" >/&gt;</stop>
<word format="xml_attributename">[$w:]+=</word>
<word format="xml_attributename">[0-9$w:]+=</word>
<context id="data/string" format="xml_attributevalue" stayOnLine="true" >
<start>&quot;</start>
@ -47,5 +47,5 @@ @@ -47,5 +47,5 @@
</context>
</context>
<sequence id="tag/stop" parenthesis="xmltag:close@nomatch" indent="0" fold="1" format="xml_elementname" >&lt;/[$w:\-]+&gt;</sequence>
<sequence id="tag/stop" parenthesis="xmltag:close@nomatch" indent="0" fold="1" format="xml_elementname" >&lt;/[0-9$w:\-]+&gt;</sequence>
</QNFA>

Loading…
Cancel
Save