View | Details | Raw Unified | Return to bug 24709
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-mode.js (+4 lines)
Lines 132-137 CodeMirror.defineMode( 'marc', function( config, modeConfig ) { Link Here
132
                        return 'end-space';
132
                        return 'end-space';
133
                    } else if ( stream.match( /\s{2,}/ ) ) {
133
                    } else if ( stream.match( /\s{2,}/ ) ) {
134
                        return 'double-space';
134
                        return 'double-space';
135
                    } else if ( stream.match( /\‡.\s/ ) ) {
136
                        return 'space-after-delimiter';
135
                    } else if ( stream.match( /[^ \t‡]+/ ) || stream.match( /[ \t]+/ ) ) {
137
                    } else if ( stream.match( /[^ \t‡]+/ ) || stream.match( /[ \t]+/ ) ) {
136
                        return;
138
                        return;
137
                    }
139
                    }
Lines 160-165 CodeMirror.defineMode( 'marc', function( config, modeConfig ) { Link Here
160
                    return 'end-space';
162
                    return 'end-space';
161
                } else if ( stream.match( /\s{2,}/ ) ) {
163
                } else if ( stream.match( /\s{2,}/ ) ) {
162
                    return 'double-space';
164
                    return 'double-space';
165
                } else if ( stream.match( /\‡.\s/ ) ) {
166
                    return 'space-after-delimiter';
163
                } else {
167
                } else {
164
                    stream.match( /[ \t]+/ );
168
                    stream.match( /[ \t]+/ );
165
                }
169
                }
(-)a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css (-2 / +5 lines)
Lines 110-115 body { Link Here
110
    border-bottom: 2px dotted #CC3333;
110
    border-bottom: 2px dotted #CC3333;
111
}
111
}
112
112
113
.cm-space-after-delimiter {
114
    background-color: #33cc33;
115
}
116
113
#editor .modified-line-gutter {
117
#editor .modified-line-gutter {
114
    width: 10px;
118
    width: 10px;
115
}
119
}
Lines 477-480 body { Link Here
477
481
478
.ui-keyboard-accept {
482
.ui-keyboard-accept {
479
    display: none;
483
    display: none;
480
}
484
}
481
- 

Return to bug 24709