Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
codechunk.cpp File Reference

(5212645b4665917019a96ba873d9e98c1a136b5f)

#include "codechunk.h"
+ Include dependency graph for codechunk.cpp:

Go to the source code of this file.

Enumerations

enum  {
  Other , Alnum , Gizmo , Comma ,
  LBrace , RBrace , RAngle , Colon ,
  Paren
}
 
enum  {
  Other , Alnum , Gizmo , Comma ,
  LBrace , RBrace , RAngle , Colon ,
  Paren
}
 

Functions

static int category (QChar ch)
 

Variables

static const int charCategory [256]
 
static const bool needSpace [9][9]
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Other 
Alnum 
Gizmo 
Comma 
LBrace 
RBrace 
RAngle 
Colon 
Paren 

Definition at line 8 of file codechunk.cpp.

◆ anonymous enum

anonymous enum
Enumerator
Other 
Alnum 
Gizmo 
Comma 
LBrace 
RBrace 
RAngle 
Colon 
Paren 

Definition at line 8 of file codechunk.cpp.

Function Documentation

◆ category()

static int category ( QChar ch)
static

Definition at line 53 of file codechunk.cpp.

References charCategory.

Variable Documentation

◆ charCategory

◆ needSpace

static const bool needSpace
static
Initial value:
= {
{ false, false, false, false, false, true, false, false, false },
{ false, true, true, false, false, true, false, false, false },
{ false, true, false, false, false, true, false, true, false },
{ true, true, true, true, true, true, true, true, false },
{ false, false, false, false, false, false, false, false, false },
{ false, false, false, false, false, false, false, false, false },
{ true, true, true, false, true, true, true, false, false },
{ false, false, true, true, true, true, true, false, false },
{ false, false, false, false, false, false, false, false, false },
}

Definition at line 40 of file codechunk.cpp.