diff options
author | Ananya Sen | 2012-03-27 17:19:18 -0700 |
---|---|---|
committer | Ananya Sen | 2012-03-27 17:19:18 -0700 |
commit | 0d83ad4dc08448e016c79ae739e84c3d71552b56 (patch) | |
tree | 85eac078fcbeab65430f2b92cc61ab9098f18dd4 /index.html | |
parent | 675fffb08f570783f055471501f94fc273de2b9e (diff) | |
download | ninja-0d83ad4dc08448e016c79ae739e84c3d71552b56.tar.gz |
- Highlight Matching bracket
- Highlight selection matched
-Highlight current line
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'index.html')
-rwxr-xr-x | index.html | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -183,6 +183,8 @@ | |||
183 | <script type="text/javascript" src="imports/codemirror/mode/xml/xml.js"></script> | 183 | <script type="text/javascript" src="imports/codemirror/mode/xml/xml.js"></script> |
184 | <script type="text/javascript" src="imports/codemirror/mode/javascript/javascript.js"></script> | 184 | <script type="text/javascript" src="imports/codemirror/mode/javascript/javascript.js"></script> |
185 | <script type="text/javascript" src="imports/codemirror/mode/css/css.js"></script> | 185 | <script type="text/javascript" src="imports/codemirror/mode/css/css.js"></script> |
186 | <script type="text/javascript" src="imports/codemirror/lib/util/searchcursor.js"></script> | ||
187 | <script type="text/javascript" src="imports/codemirror/lib/util/match-highlighter.js"></script> | ||
186 | 188 | ||
187 | <script type="text/javascript" src="node_modules/montage/montage.js"></script> | 189 | <script type="text/javascript" src="node_modules/montage/montage.js"></script> |
188 | 190 | ||
@@ -199,6 +201,16 @@ | |||
199 | } | 201 | } |
200 | } | 202 | } |
201 | </script> | 203 | </script> |
204 | |||
205 | <style type="text/css"> | ||
206 | .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;} | ||
207 | span.CodeMirror-matchhighlight { background: #e9e9e9 } | ||
208 | .CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important } | ||
209 | .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;} | ||
210 | .activeline {background: #e8f2ff !important;} | ||
211 | div.CodeMirror span.CodeMirror-matchingbracket {color: #000;background-color: #ffd500;} | ||
212 | .CodeMirror-scroll {height: auto; overflow-y: hidden; overflow-x: auto; width: 100%;} | ||
213 | </style> | ||
202 | 214 | ||
203 | </head> | 215 | </head> |
204 | 216 | ||