view libgui/src/m-editor/octave-txt-lexer.h @ 20311:396e9cd6cd98

Avoid using HAVE_ macros in header file. * find-dialog.h, find-dialog.cc (find_dialog::handle_sel_search_changed, find_dialog::handle_selection_changed): Unconditionally define.
author John W. Eaton <jwe@octave.org>
date Wed, 24 Jun 2015 11:51:06 -0400
parents 35a8e1beac8d
children
line wrap: on
line source

/*

Copyright (C) 2013-2015 Torsten

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

// Author: Torsten <ttl@justmail.de>

#if !defined (octave_txt_lexer_h)
#define octave_txt_lexer_h 1

#include <Qsci/qsciscintilla.h>
#include <Qsci/qscilexer.h>


class octave_txt_lexer : public QsciLexer
{
  Q_OBJECT

public:

  virtual const char *language () const;
  virtual const char *lexer () const;
  virtual QString description (int style) const;

};

#endif