~ubuntu-branches/debian/stretch/universalindentgui/stretch

« back to all changes in this revision

Viewing changes to src/UiGuiHighlighter.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-08-20 13:41:45 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090820134145-g5wu2b87qz1i9sy9
Tags: 1.1.0-1
* New upstream release.
* Update debian/control:
  - Bump quilt and debhelper build-dependency versions.
  - Bump Standards-Version to 3.8.3 (no changes needed).
* Convert debian/rules to dh usage.
* Rename debian/universalindentgui.lintian to
  debian/universalindentgui.lintian-overrides for dh_lintian usage.
* Add debian/README.source file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
void UiGuiHighlighter::turnHighlightOff() {
135
135
    highlightningIsOn = false;
136
136
    qsciEditorParent->setLexer();
137
 
#ifdef Q_OS_WIN
 
137
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
138
138
    qsciEditorParent->setFont( QFont("Courier", 10, QFont::Normal) );
139
139
    qsciEditorParent->setMarginsFont( QFont("Courier", 10, QFont::Normal) );
140
140
#else
193
193
        if (ok && fdesc.count() == 5) {
194
194
            QFont f;
195
195
 
196
 
#ifdef Q_OS_WIN
 
196
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
197
197
            f.setFamily(fdesc[0]);
198
198
#else
199
199
            if ( fdesc[0].contains("courier", Qt::CaseInsensitive) )