Scilab Function

scipad - Embedded Scilab text editor

### Calling Sequence

  `scipad()`
  `scipad(f)`
  `scipad([f1,f2,...])`
  `scipad f1 f2 ...`

### Parameters

- `f, f1, f2...` : file pathnames

### Description

Scipad is an embedded Scilab text editor written in TCL/TK. It can be started with the "Editor" button on top of the main Scilab window, or from Scilab command line with the instruction `scipad()` or `scipad f` .

The same invocation adds further files to an already opened scipad session. Scipad allows Windows like edition modes. Keyboard shortcuts are defined for most possible editing actions and reported by the menu entries.

Additionally, the following shortcuts are defined:

  - <F2> Save file
  - <F5> Save file and run it into Scilab
  - <F6>, <Control-F6> show next buffer
  - <F7>, <Control-F7> show previous buffer
  - <double-click mouse-button1> Select word
  - <triple-click mouse-button1> Select line
  - <mouse-button2> Paste selection (unix)
  - <mouse-button3> popup edit menu
  - <Shift-mouse-button3> popup Execute menu
  - <Control-mouse-button3> popup Options menu
  - <Control-plus> increase the font size
  - <Control-minus> decrease the font size

The "Load Into Scilab" (Ctrl-lowercase-l) menu entry can be used to `exec` the file contents into Scilab, while "Execute selection" (Ctrl-lowercase-y) passes the selected lines to the scilab shell using `ScilabEval` (i.e. `execstr` ).

### Remarks

  - Known Issues:
  - Execute Selection deals only with selections containing less than 16000 characters. It gets confused if the selection contains a `function` not terminated by an `endfunction` . The commands passed are output on the Scilab window, but are not recorded in the history.
- Bugs: There are still a few...

### Examples

       scipad(SCI+'/scilab.star')

### Authors

  Scipad is derived from `tknotepad` written by Joseph Acosta;
  Mathieu Philippe, INRIA, 2001;
  Enrico Segre, Weizmann Institute, 2003-2004;
  Francois Vogel, 2004.