geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Document.cxx File Reference

Text document that handles notifications, DBCS, styling, words and end of line. More...

#include <cstddef>
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <stdexcept>
#include <string>
#include <vector>
#include <forward_list>
#include <algorithm>
#include <memory>
#include <chrono>
#include <regex>
#include "Platform.h"
#include "ILoader.h"
#include "ILexer.h"
#include "Scintilla.h"
#include "CharacterSet.h"
#include "CharacterCategory.h"
#include "Position.h"
#include "SplitVector.h"
#include "Partitioning.h"
#include "RunStyles.h"
#include "CellBuffer.h"
#include "PerLine.h"
#include "CharClassify.h"
#include "Decoration.h"
#include "CaseFolder.h"
#include "Document.h"
#include "RESearch.h"
#include "UniConversion.h"
#include "ElapsedPeriod.h"
Include dependency graph for Document.cxx:

Go to the source code of this file.

Classes

class  BuiltinRegex
 Implementation of RegexSearchBase for the default built-in regular expression engine. More...
 

Macros

#define WCHAR_T_IS_16   0
 

Functions

static bool IsSubordinate (int levelStart, int levelTry) noexcept
 
static constexpr bool IsSpaceOrTab (int ch) noexcept
 
static constexpr Sci::Position NextTab (Sci::Position pos, Sci::Position tabSize) noexcept
 
static std::string CreateIndentation (Sci::Position indent, int tabSize, bool insertSpaces)
 
static bool IsASCIIPunctuationCharacter (unsigned int ch) noexcept
 
static constexpr bool IsLineEndChar (char c) noexcept
 
static char BraceOpposite (char ch) noexcept
 

Detailed Description

Text document that handles notifications, DBCS, styling, words and end of line.

Definition in file Document.cxx.

Macro Definition Documentation

◆ WCHAR_T_IS_16

#define WCHAR_T_IS_16   0

Definition at line 2859 of file Document.cxx.

Function Documentation

◆ BraceOpposite()

static char BraceOpposite ( char  ch)
staticnoexcept

Definition at line 2643 of file Document.cxx.

Referenced by Scintilla::Document::BraceMatch().

◆ CreateIndentation()

static std::string CreateIndentation ( Sci::Position  indent,
int  tabSize,
bool  insertSpaces 
)
static

Definition at line 1480 of file Document.cxx.

References indent, and indentation.

Referenced by Scintilla::Document::SetLineIndentation().

◆ IsASCIIPunctuationCharacter()

static bool IsASCIIPunctuationCharacter ( unsigned int  ch)
staticnoexcept

◆ IsLineEndChar()

static constexpr bool IsLineEndChar ( char  c)
staticconstexprnoexcept

Definition at line 2626 of file Document.cxx.

Referenced by Scintilla::Document::ExtendStyleRange().

◆ IsSpaceOrTab()

static constexpr bool IsSpaceOrTab ( int  ch)
staticconstexprnoexcept

Definition at line 1130 of file Document.cxx.

◆ IsSubordinate()

static bool IsSubordinate ( int  levelStart,
int  levelTry 
)
staticnoexcept

Definition at line 499 of file Document.cxx.

References Scintilla::LevelNumber(), and SC_FOLDLEVELWHITEFLAG.

Referenced by Scintilla::Document::GetLastChild().

◆ NextTab()

static constexpr Sci::Position NextTab ( Sci::Position  pos,
Sci::Position  tabSize 
)
staticconstexprnoexcept