Keywords: xcoral

Next: Eval expression Up: Xcoral Previous: Browser control

# Using Smac

This chapter describes, with simple examples, how to use Smac within Xcoral. For more details about Smac refer to the third part of this document.

Note 1:
  In Smac, characters and lines are numbered from 0.
Note 2:
  Current position is the cursor position in the current buffer.

- Eval expression
- Compiling and searching within Xcoral
- Using mode
  - Default mode
  - C-C++ mode
    - Auto-indentation
    - Blinking
    - Definition, form and region
  - Java mode
  - Latex mode
  - Shell mode
  - Edit directory mode (Edir)
  - Html mode
  - Other modes
- C-C++ headers
- Regular expressions
- Color syntax highlighting
- Browser
- Writing new functions
- Built-in editor functions