Changeset 813

Show
Ignore:
Timestamp:
08/12/08 11:36:57 (3 months ago)
Author:
liamstask
Message:

- add null to highlight list
- no wrapping for editor window

Location:
mcbuilder/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • mcbuilder/trunk/layouts/mainwindow.ui

    r724 r813  
    3434       <bool>false</bool> 
    3535      </property> 
    36       <widget class="Editor" name="editor" /> 
     36      <widget class="Editor" name="editor" > 
     37       <property name="lineWrapMode" > 
     38        <enum>QPlainTextEdit::NoWrap</enum> 
     39       </property> 
     40      </widget> 
    3741      <widget class="QListWidget" name="outputConsole" > 
    3842       <property name="palette" > 
  • mcbuilder/trunk/src/Highlighter.cpp

    r762 r813  
    4444                  << "\\btypedef\\b" << "\\btypename\\b" << "\\bif\\b" 
    4545                  << "\\bunion\\b" << "\\bunsigned\\b" << "\\bbool\\b" 
     46                  << "\\bnull\\b" << "\\bNULL\\b" 
    4647                  << "\\bvoid\\b" << "\\bvolatile\\b" << "\\bstruct\\b"; 
    4748