|
|
|
/***************************************************************************
|
|
|
|
bashhighlighter.h - description
|
|
|
|
-------------------
|
|
|
|
begin : dom mar 16 2003
|
|
|
|
copyright : (C) 2003 by Emiliano Gulmini
|
|
|
|
email : emi_barbarossa@yahoo.it
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program 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 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef TQMYHIGHLIGHTER_H
|
|
|
|
#define TQMYHIGHLIGHTER_H
|
|
|
|
|
|
|
|
#include <tqsyntaxhighlighter.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
*@author Emiliano Gulmini
|
|
|
|
*/
|
|
|
|
|
|
|
|
class TQMyHighlighter : public TQSyntaxHighlighter {
|
|
|
|
public:
|
|
|
|
TQMyHighlighter(TQTextEdit* TQtxt);
|
|
|
|
|
|
|
|
~TQMyHighlighter();
|
|
|
|
int highlightParagraph ( const TQString & text, int endStateOfLastPara );
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|