Show More
@@ -115,10 +115,6 b' define([' | |||
|
115 | 115 | }); |
|
116 | 116 | |
|
117 | 117 | this.events.on("config_changed.Editor", function () { |
|
118 | var lineNumbers = editor.codemirror.getOption('lineNumbers'); | |
|
119 | var text = lineNumbers ? "Hide" : "Show"; | |
|
120 | text = text + " Line Numbers"; | |
|
121 | that.element.find('#menu-line-numbers').find("a").text(text); | |
|
122 | 118 | var keyMap = editor.codemirror.getOption('keyMap') || "default"; |
|
123 | 119 | that.element.find(".selected-keymap").removeClass("selected-keymap"); |
|
124 | 120 | that.element.find("#menu-keymap-" + keyMap).addClass("selected-keymap"); |
@@ -60,7 +60,7 b' data-file-path="{{file_path}}"' | |||
|
60 | 60 | </li> |
|
61 | 61 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a> |
|
62 | 62 | <ul id="view-menu" class="dropdown-menu"> |
|
63 |
<li id="menu-line-numbers"><a href="#"> |
|
|
63 | <li id="menu-line-numbers"><a href="#">Toggle Line Numbers</a></li> | |
|
64 | 64 | </ul> |
|
65 | 65 | </li> |
|
66 | 66 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Mode</a> |
General Comments 0
You need to be logged in to leave comments.
Login now