Open Software
codepad [path]
The codepad application is a code editing application using the
codeWindow control. The codewin api must be installed in the /win/apis folder.
Requires WIN and codewin
api
path If given, opens the file for
editing.
The codepad application includes the following features:
* Selection editing.
* Clipboard support.
* Undo/redo.
* Find/replace.
* Custom language definition.
* Syntax highlighting.
* Code completion.
* Code indexing.
* Auto indenting.
* Trim end of line spaces on save.
* Run the code file.
* Auto save before running.
The language is defined in a name/value pair file that must at the
same path appended with .def, and can
contain the following options:
; tab spaces
tab=number
; auto indent on enter
autoindent=boolean
; trim end of line spaces on save
autotrim=boolean
; auto save before running
autosave=boolean
; use code completion
autocomplete=boolean
; colors - must be number values
keywords=number
nouns=number
comments=number
strings=number
operators=number
numbers=number
; keywords - as many as needed
keyword=word
; indexes - as many as needed
index=pattern
Operations:
New Ctrl+N
- New file
Open Ctrl+O
- Open file
Save Ctrl+S
- Save file
Save as
- Save as new file
Print
- Print file
Run Ctrl+R
- Run program
Index Ctrl+I
- Show index
Undo Ctrl+Z
- Undo last action
Redo Ctrl+Y
- Redo last undo
Cut Ctrl+X
- Cut to clipboard
Copy Ctrl+C
- Copy to clipboard
Paste Ctrl+V
- Paste from clipboard
Sys Copy Ctrl+Alt+C -
System copy
Sys Paste Ctrl+Alt+V - System
paste
Find Ctrl+F
- Find text
Next F3
- Find next
Replace Ctrl+H
- Replace text
Quit Ctrl+Alt+X
- Quit codepad
Ctrl+A - Select all
Shift+<nav>- Select range
Ctrl+<nav> - Move view
Ctrl+click - Select range
Download codepad
Download lua definition file