Skip to content

skinkairewalker/AceEditor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AceEditor

SpiderBasic-Module to use the AceEditor (https://ace.c9.io/)

http://i.imgur.com/dbCBQw2.png

Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate. It can be easily embedded in any web page and JavaScript application. Ace is maintained as the primary editor for Cloud9 IDE and is the successor of the Mozilla Skywriter (Bespin) project.

Installation:

Copy AceEditor.sbi into a folder of your choice and include this file with XIncludeFile in your source.

XIncludeFile "path/to/your/AceEditor.sbi"

Usage:

First you must initialize the module:

XIncludeFile "AceEditor.sbi"

EnableExplicit
  
Procedure Main()

    ; here we are!

EndProcedure

AceEditor::Init(@Main())

In the Main-Procedure, open a window, create a ContainerGadget and bind the AceEditor to it:

[...]

Procedure Main()

    OpenWindow(#Window, ...)
  
    ContainerGadget(#AceEditor, ...)
    CloseGadgetList()

    AceEditor::BindGadget(#AceEditor)

EndProcedure

[...]

About

A SpiderBasic-Module to use the AceEditor (https://ace.c9.io/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published