Tagged Questions

Ace is a standalone code editor written in JavaScript. The primary goal is to create a web based code editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page and JavaScript ...

I want to insert text to the last line of current content. It just like an append operation in file. I only find the editor.insert(text) method. This method add text right after the cursor. Is there ...

Wondering if there is a way to replace all the rules in a mode in the ace editor. I see there is a way to addRules to highlightRules but our use case needs to wipe the rules and replace with new ones.
...

The search functionality(Ctrl+f) of the web browser does not properly work when editing a file in the ace editor.
Please check in following link, http://ace.c9.io/#nav=about .
The web browser search ...

I want to use some custom keywords in Markdown mode that should be highlighted by Ace. For example, I need to tell Ace that it should colorize
keywords like TODO,
regexps like /COMMENT\.+$/ or $1 in ...

I'm working on a real-time collaborative editor within Ace editor, and I couldn't find any docs on inserting text at a certain position within the editor (Aka, the position the other user types at.) ...

I am trying to display some information about the lines of code in Ace Editor.
Therefore I was wondering if there is the possibility to add info labels next or above the lines that are not really part ...

I would like to eliminate the vertical scrollbar in my Ace Editor (that I’m embedding in a Ruby on Rails platform). I understand how to hide it (given the methods provided through the editor API), but ...

The ace editor centers the view (scrolls horizontally) on the cursor even when the cursor is not outside the screen.
This happens after resize the ace editor container.
How to prevent ace editor to ...

I am working with ace editor in sql mode. I followed this link to enable auto completion: https://github.com/ajaxorg/ace/blob/master/demo/autocompletion.html. It generally works well. However, I want ...

This is the closest I've seen to that, and even it doesn't do a particularly good job; it certainly doesn't integrate (if it can even be said to do so) as well as the the highlight.js blocks reveal.js ...

I am new to vaadin and would like to embed an ace editor.
I put the jar file in the lib directory.
But the ace directory, I just don't know where to put it.
Withing the web contents, the compiler will ...

I am trying to integrate Ace editor into my application and I want to have multiple tabs. However, the only way I have gotten this to work is by defining the elements ahead of time. So for example:
...

I am using https://github.com/angular-ui/ui-ace directive to implement ace editor in my angular JS application.
Everything works well, i just want to know, how to disable the auto completion in the ...

I am using firebase, firepad and ace technology.
I am able to write a document by firepad and ace and stores it in firebase, at different times.I see history being generated in firebase.
Next thing is ...

I've integrated the Ace code editor (http://ace.c9.io/) in my website and want it to be able to run JavaScript code. The problem is that I heard the eval() function is not secure. I've heard of these ...

I'm trying to get the ACE editor to show auto suggestions for BDD (Gherkin) based stories. Assuming that I have a way to generate a list of snippets in the form
snippet Given a certain precondition ...

I can't seem to make getCompletions function to trigger in my custom completer when using custom prefix extraction regex identifierRegexps
Basically I am trying to create an autocompleter which will ...

I'm using ACE editor and I enable autocomplete with the code below but this seems like it's giving me autocomplete just by any word in the document. This seems strange. I would expect it to act more ...

I'm using the ace editor and I noticed when I read in some lua file it wasn't matching 100% to what the file really had in it when I placed the data inside the ace editor div. You can see this effect ...

I have a webapp where I have to show the ace editor in multiple places. So I have a common routine that loads the ace editor with a given root element (code in coffee)
editor = window.ace.edit(root)
...

I'm using the Ace Editor with autocompletion turned on. The editor appears in a modal frame on the page.
If the modal frame is closed (i.e. the editor is removed from the DOM) while an autocomplete ...

I need to dynamically change the set of keywords that need to highlight. Here was the answer to a similar theme, but my project already has require.js and when I use the code from the response then I ...

I'm trying to create a MIPS syntax highlighting. There's a copy of the .tmLanguage file to be used for TextMate markup and the like on GitHub here.
I'm also aware that Ace Editor's ability to perform ...