forked from 0x2620/oxjs
some improvements to syntax highlighter
This commit is contained in:
parent
0b629a1b40
commit
30ebbee085
5 changed files with 76 additions and 64 deletions
|
|
@ -18,10 +18,14 @@ Ox.load('UI', {
|
|||
$options = Ox.Element()
|
||||
.append(
|
||||
Ox.FormElementGroup({
|
||||
elements: ['showLineNumbers', 'showLinebreaks', 'showTabs', 'showWhitespace'].map(function(v, i) {
|
||||
elements: [
|
||||
'showLineNumbers', 'showLinebreaks', 'showTabs', 'showWhitespace', 'stripComments'
|
||||
].map(function(v, i) {
|
||||
return Ox.Checkbox({
|
||||
overlap: 'right',
|
||||
title: Ox.toDashes(v).split('-').map(function(v) { return Ox.toTitleCase(v); }).join(' '),
|
||||
title: Ox.toDashes(v).split('-').map(function(v) {
|
||||
return Ox.toTitleCase(v);
|
||||
}).join(' '),
|
||||
width: 160
|
||||
}).bindEvent({
|
||||
change: function(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue