GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
konsole_wcwidth.cpp File Reference
#include "unix/konsole_wcwidth.h"
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

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

Definition at line 18 of file konsole_wcwidth.cpp.

References max(), and min().

Referenced by 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().

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().