Skip to content

Commit

Permalink
Update ext-scrollbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ldijkman authored Oct 7, 2023
1 parent edb4fe5 commit dfc396f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mrs/Ace_color/ext-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ classname = function (classname) {
//console.log("editor.getSession().getAnnotations().length",editor.getSession().getAnnotations().length);
for (let i = 0; i < e.getSession().getAnnotations().length; i=i+1) {
if(editor.getSession().getAnnotations()[i].type=="info"){
alarm += "<div class='ace_map-item' style='top:" + (map_range(e.getSession().getAnnotations()[i].row ,0,editor.session.getLength()+nr_lines_vissible, 0,100)) + "%;background-color:purple;'></div>"
alarm += "<div class='ace_map-item' style='top:" + (map_range(e.getSession().getAnnotations()[i].row ,0,editor.session.getLength()+nr_lines_vissible, 0,100)) + "%;background-color:pink;'></div>"
}
else if(editor.getSession().getAnnotations()[i].type=="error"){
alarm += "<div class='ace_map-item' style='top:" + (map_range(e.getSession().getAnnotations()[i].row ,0,editor.session.getLength()+nr_lines_vissible, 0,100)) + "%;background-color:red;'></div>"
Expand Down

0 comments on commit dfc396f

Please sign in to comment.