GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
konsole_wcwidth.cpp File Reference
Include dependency graph for konsole_wcwidth.cpp:

Go to the source code of this file.

Classes

struct  interval
 

Functions

static int bisearch (quint16 ucs, const struct interval *table, int max)
 
int konsole_wcwidth (quint16 ucs)
 
int string_width (const QString &txt)
 

Function Documentation

◆ bisearch()

static int bisearch ( quint16  ucs,
const struct interval table,
int  max 
)
static

Definition at line 18 of file konsole_wcwidth.cpp.

References max(), and min().

Referenced by konsole_wcwidth().

◆ konsole_wcwidth()

int konsole_wcwidth ( quint16  ucs)

Definition at line 68 of file konsole_wcwidth.cpp.

References bisearch().

Referenced by Screen::ShowCharacter(), and string_width().

◆ string_width()

int string_width ( const QString &  txt)

Definition at line 210 of file konsole_wcwidth.cpp.

References konsole_wcwidth(), and Faddeeva::w().

Referenced by TerminalView::preeditRect().