GithubHelp home page GithubHelp logo

aceeditor's Introduction

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

[...]

aceeditor's People

Contributors

spiderbytes avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.