ui-ace icon indicating copy to clipboard operation
ui-ace copied to clipboard

Add marker _session.addMarker

Open timactive opened this issue 11 years ago • 2 comments

It is possible to create marker for example. I have error with Range constructor TypeError: Illegal constructor Example :

$scope.aceLoaded = function(_editor){ var _session = _editor.getSession(); _session.addMarker(new Range(1, 0, 10, 0), "ace_active-line", "fullLine"); };

timactive avatar Nov 05 '13 12:11 timactive

Hum... Oui it's possible your Range constructor error might comes from a conflict with the Range interface. Here is a minimal demo

douglasduteil avatar Nov 11 '13 18:11 douglasduteil

hey, just got here to point out that the minimal version isn't working correctly for me.

bernardocorbella avatar Sep 23 '14 21:09 bernardocorbella