ace-editor Questions

2

Solved

I've seen a few issues with the cursor being improperly spaced in the ace editor. The problem has to do with the font-spacing and apparently the solution is to only use monospaced fonts. Here's a...
Epitomize asked 5/1, 2014 at 7:2

2

Solved

Im using ace Editor in my react app and am getting the above error. I want to put the contents of the Ace Editor IDE that im using in my react app from a function call which is triggered through a ...
Pingpingpong asked 7/8, 2020 at 4:57

4

Well as the title says - how do I find out what the currently loaded mode is in Ace Editor? editor.getSession().getMode() does not really return anything I can use - have looked through the object...
Shermy asked 9/5, 2012 at 13:19

4

I was using ace editor to write some code, but when wrote & in a URL the editor gave me this error: named entity expected got none. I tried everything I knew about: changing & to &,...
Scaly asked 11/11, 2020 at 6:20

2

Solved

I am listening on ACE editor's change event to handle with user's input while sometimes I will do setvalue() by js. So is there a way to avoid the setvalue() triggering the change event?
Elatia asked 29/7, 2015 at 9:30

4

I am embedding Ace locally offline and so am not using the hosted package and am subject to the same origin policy. How do you tell ace to look in a particular folder for it's source of modes, them...
Alkoran asked 27/12, 2012 at 11:19

4

I am trying to alter an RStudio Editor Themes so that I can set my own colors. I'm using RStudio version 0.99.473 on Windows 10. I've reviewed Any way to change colors in Rstudio to something othe...
Md asked 1/11, 2016 at 22:27

4

Solved

I am attempting to partially highlight a line / lines using a marker. according to the documentation on ranges it it possible to create one with 4 inputs: startLine, startColumn, endLine, endColum...
Inapprehensive asked 28/7, 2018 at 18:47

4

Solved

I'm trying to retrieve the line number of a given string in the text displayed in the ace editor. Example: searching for "foo" Return: [ 4, 5 ] Condition: Line 4 and 5 in the content of the ace ...
Dorladorlisa asked 2/8, 2013 at 9:16

4

Solved

I am using Ace Editor in my Angular application. It is defined here - https://www.npmjs.com/package/ng2-ace-editor Usage: .html <ace-editor id="editor" class="form-control" formControlName="a...
Tuggle asked 25/3, 2020 at 20:51

2

in my code, i have component that using react-ace. in my render function i have this row: <CodeEditor onChange={onCodeChanged} value={code} /> callback function: const onCodeBodyChanged = (n...
Swint asked 25/8, 2020 at 6:1

4

Solved

I've set the editor to read only and it is read only but it is showing a cursor. I'd like to programmatically hide the cursor (not through a style unless programmatically).
Schofield asked 27/9, 2015 at 8:36

3

I'm loading the Ace editor from the Cloudfront CDN like it says to on their sample page, but it's failing to find the haml and stylus syntax highlighters. %script(src="//d1n0x3qji82z53.cloudfront....
Goldfilled asked 14/7, 2013 at 6:25

4

Solved

I am using Ace editor in my project. CSS: #editor { position:absolute; top:0; left:0; width:100%; height:100%; background-color:white; } JavaScript: var editor = ace.edit("editor"); ed...
Unbounded asked 3/3, 2013 at 6:20

1

Solved

Introduction: I've an Angular application where custom SQL statements can be written by using the ACE editor (https://ace.c9.io/). Even though there are modes and themes for SQL, I wanted to create...
Terris asked 12/5, 2022 at 12:20

6

Is there an option to add a handle to the ACE editor window for making the size of the editor window changeable by the enduser? I tried to use interactjs.io and applied resizable(true) to the .ace_...
Heehaw asked 17/12, 2014 at 20:27

3

Solved

Ace editor by default selects an entire line.. For eg: When the page loads up the first line is selected by default. Also when I click anywhere in the screen that entire line gets selected.. Ho...
Bridgeport asked 2/11, 2013 at 4:25

3

I'm trying to use the Ace editor in my Ruby on Rails app, with majority of the view composed as React components. I'm using the react-rails gem and I'm not using flux at all. I found this react-a...
Countersink asked 13/4, 2016 at 15:14

9

Solved

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 th...
Ketty asked 20/7, 2012 at 17:15

4

Solved

Does anyone know how can I disable the selection of ace.editor? No word selection by mouse and finger. I tried to use editor.selection(false); but that does not work.
Fez asked 15/7, 2014 at 11:50

1

I try to store all stuff of the ace editor in a single file, e.g. themes, modes and extensions. Therefore I downloaded the ace-master-build package from GitHub and concatenated the files. That did ...
Vacation asked 30/1, 2014 at 13:35

2

Solved

In my nuxt component I want to use the ace editor: import Ace from "ace-builds/src-noconflict/ace" when the component is mounted I am doing the following: this.editor = Ace.edit... Obvi...
Sensorium asked 3/6, 2021 at 15:58

7

Solved

I've found the beautify extension in Ace editor but I don't see any examples of how to use it. Here's what I have so far: var beautiful = ace.require("ace/ext/beautify"); beautiful.beauti...
Hialeah asked 1/8, 2015 at 23:6

4

Solved

TL;DR I am trying to manually trigger ace editor snippets through a function call, rather than the conventional approach (keyboard keys). Explanation I need a function that takes in the editor a...
Navarrete asked 28/9, 2014 at 20:21

1

Solved

Hello stackOverflow community, this is my first question here and I'm wondering how to enable the Search Box in an Ace Editor. I have a current demo of the project here. So far the editor has Emmet...
Kazukokb asked 17/3, 2021 at 21:35

© 2022 - 2025 — McMap. All rights reserved.