pascal_indent.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 Alexander Dymo * 00003 * cloudtemple@mksat.net * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 #ifndef PASCAL_INDENT_H 00012 #define PASCAL_INDENT_H 00013 00014 #include "qeditor_indenter.h" 00015 #include <qregexp.h> 00016 00017 class PascalIndent: public QEditorIndenter 00018 { 00019 public: 00020 PascalIndent( QEditor* ); 00021 virtual ~PascalIndent(); 00022 00023 virtual int indentForLine( int ); 00024 00025 private: 00026 /* QRegExp rxLineEndedWithAColon; 00027 QRegExp rxStopExecutionStmt; 00028 QRegExp rxHeaderKeyword; 00029 QRegExp rxOneLinerStmt;*/ 00030 QRegExp rxCompoundStmt; 00031 }; 00032 00033 #endif