Back to index

Classes | Defines | Functions
edit_interface.hpp File Reference
#include "editor.hpp"
#include "timer.hpp"
#include "widget.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  edit_interface_rep


#define INPUT_NORMAL   0
#define INPUT_SEARCH   1
#define INPUT_REPLACE   2
#define INPUT_SPELL   3
#define INPUT_COMPLETE   4


string MODE_LANGUAGE (string mode)

Define Documentation

#define INPUT_COMPLETE   4

Definition at line 22 of file edit_interface.hpp.

#define INPUT_NORMAL   0

Definition at line 18 of file edit_interface.hpp.

#define INPUT_REPLACE   2

Definition at line 20 of file edit_interface.hpp.

#define INPUT_SEARCH   1

Definition at line 19 of file edit_interface.hpp.

#define INPUT_SPELL   3

Definition at line 21 of file edit_interface.hpp.

Function Documentation

Definition at line 29 of file edit_interface.cpp.

  if (mode == "text") return LANGUAGE;
  else if (mode == "math") return MATH_LANGUAGE;
  else if (mode == "prog") return PROG_LANGUAGE;
  else if (mode == "src") return LANGUAGE;
  cerr << "Mode = " << mode << "\n";
  FAILED ("invalid mode");
  return LANGUAGE;

Here is the caller graph for this function: