GNU Octave  4.4.1
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.


struct  interval


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 

Definition at line 18 of file konsole_wcwidth.cpp.

References first, 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 i, konsole_wcwidth(), and Faddeeva::w().

Referenced by TerminalView::preeditRect().