Highlight the word:
var range = new Range(rowStart, columnStart, rowEnd, columnEnd);
var marker = editor.getSession().addMarker(range,"ace_selected_word", "text");
Remove the highlighted word:
editor.getSession().removeMarker(marker);
Highlight the line:
editor.getSession().addMarker(range,"ace_active_line","background");
Last active
August 29, 2015 14:14
-
-
Save itsvicsoto/355a8a42252b54326e6d to your computer and use it in GitHub Desktop.
Front-End Developer Resources
This is why I love front-end stuff.
Tutorials
- http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/
- http://cssguidelin.es/
- https://github.com/csswizardry/csswizardry-grids
- http://jsfiddle.net/user/inuitcss/fiddles/1/
Inspiration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment