I'm trying to add the Ace editor to a page, but I don't know how to get the height to be set automatically based on the length of its contents.  Ideally it would work so when the content changes the height is recalculated, but I would be happ...
I'm using ACE Editor within a Chrome extension. I'm using ACE's Autocomplete feature but I want to be able to completely define a list of static strings to use for the autocomplete, instead of any local strings or snippets. (In the future...
The old method mentioned in similar questions here is the following:  var editor = ace.edit("editor"); var Range = ace.require('ace/range').Range; editor.setReadOnly(true); editor.setTheme("ace/theme/github"); editor.getSessio...
I write online webpage editor and I would like save current view/work on server, for restore in future. I also want do multiple tabs.  I know, that is editor.getSession() and editor.setSession().  JS:  var editor = ace.edit("description"); ed...
We've got our own scripting language that we use. The language is quite simple, but it has one 'exclusive' thing: strings are defined using '[' and ']' (so "test" would be [test]), and these braces can be inside ea...
Ace Editor has Live Syntax Checking, which can check code as it's being typed for syntax errors.    I have a Rails 3.2 site with the Ace file included on each coding page. I added a require statement to the javascript to tell Ace where the worker...
I'd like to enable syntax highlighting of JS within a python script using the ACE editor.  Specifically, I'd like something like this:  #python stuff... foo_dict = {}  foo = """<script> var foo = 3 </script>""&...
I look into docs and also pick at the source code and I dind't find anything, all I see is selection and range objects, and methods that manipulate ranges....
Is there anything like   editor.getSession.trigger('change')   the reason I want this is because the editor goes in and out of new, so when It comes back into view I need it to do its normal 'change' thing, but I dont want to wait for...
I am using ACE Editor to display xml content on my web page. I want to format the xml code in Editor.  Can Any one tell me how to do this ?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.