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

(-)a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-mode.js (+4 lines)
Lines 130-135 CodeMirror.defineMode( 'marc', function( config, modeConfig ) { Link Here
130
                    // matching.
130
                    // matching.
131
                    if ( stream.match( /[ \t]+$/ ) ) {
131
                    if ( stream.match( /[ \t]+$/ ) ) {
132
                        return 'end-space';
132
                        return 'end-space';
133
                    } else if ( stream.match( /\s{2,}/ ) ) {
134
                        return 'double-space';
133
                    } else if ( stream.match( /[^ \t‡]+/ ) || stream.match( /[ \t]+/ ) ) {
135
                    } else if ( stream.match( /[^ \t‡]+/ ) || stream.match( /[ \t]+/ ) ) {
134
                        return;
136
                        return;
135
                    }
137
                    }
Lines 156-161 CodeMirror.defineMode( 'marc', function( config, modeConfig ) { Link Here
156
                // Match space at end of line
158
                // Match space at end of line
157
                if ( stream.match( /[ \t]+$/ ) ) {
159
                if ( stream.match( /[ \t]+$/ ) ) {
158
                    return 'end-space';
160
                    return 'end-space';
161
                } else if ( stream.match( /\s{2,}/ ) ) {
162
                    return 'double-space';
159
                } else {
163
                } else {
160
                    stream.match( /[ \t]+/ );
164
                    stream.match( /[ \t]+/ );
161
                }
165
                }
(-)a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css (-1 / +4 lines)
Lines 106-111 body { Link Here
106
    background-color: #DDDDBB;
106
    background-color: #DDDDBB;
107
}
107
}
108
108
109
.cm-double-space {
110
    border-bottom: 2px dotted #CC3333;
111
}
112
109
#editor .modified-line-gutter {
113
#editor .modified-line-gutter {
110
    width: 10px;
114
    width: 10px;
111
}
115
}
112
- 

Return to bug 24452