⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 paragdata.h

📁 qtopia的源程序,一种嵌入式图形操作系统
💻 H
字号:
/******************************************************************************** Copyright (C) 1992-$THISYEAR$ Trolltech AS. All rights reserved.**** This file is part of the $MODULE$ of the Qt Toolkit.**** $LICENSE$**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#ifndef PARAGDATA_H#define PARAGDATA_H#include "parenmatcher.h"#include "q3richtext_p.h"struct ParagData : public Q3TextParagraphData{public:    enum MarkerType { NoMarker, Error, Breakpoint };    enum LineState { FunctionStart, InFunction, FunctionEnd, Invalid };    ParagData() : lastLengthForCompletion( -1 ), marker( NoMarker ),	lineState( Invalid ), functionOpen( true ), step( false ), stackFrame( false ) {}    ~ParagData() {}    void join( Q3TextParagraphData *data ) {	ParagData *d = (ParagData*)data;	if ( marker == NoMarker )	    marker = d->marker;	lineState = d->lineState;    }    ParenList parenList;    int lastLengthForCompletion;    MarkerType marker;    LineState lineState;    bool functionOpen;    bool step;    bool stackFrame;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -