|
|
@ -444,32 +444,53 @@ function setupInterface(data, file, urls) {
|
|
|
|
|
|
|
|
|
|
|
|
let row_listener = new window.keypress.Listener(row, listener_defaults);
|
|
|
|
let row_listener = new window.keypress.Listener(row, listener_defaults);
|
|
|
|
|
|
|
|
|
|
|
|
row_listener.sequence_combo('0',
|
|
|
|
row_listener.register_many(
|
|
|
|
function() {
|
|
|
|
[
|
|
|
|
|
|
|
|
{
|
|
|
|
data.data[row.data('tableInfo').nRow]['No.'] = 0;
|
|
|
|
keys: 's t',
|
|
|
|
|
|
|
|
on_keydown:
|
|
|
|
row.children('.editable').first().html('0');
|
|
|
|
function() {
|
|
|
|
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'sentence');
|
|
|
|
notifyChange();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
is_sequence: true,
|
|
|
|
|
|
|
|
is_solitary: true,
|
|
|
|
row_listener.sequence_combo('s t', function() {
|
|
|
|
is_exclusive: true
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'sentence');
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
row_listener.sequence_combo('s p', function() {
|
|
|
|
keys: 's p',
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'split');
|
|
|
|
on_keydown:
|
|
|
|
});
|
|
|
|
function() {
|
|
|
|
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'split');
|
|
|
|
row_listener.sequence_combo('m e', function() {
|
|
|
|
},
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'merge');
|
|
|
|
is_sequence: true,
|
|
|
|
});
|
|
|
|
is_solitary: true,
|
|
|
|
|
|
|
|
is_exclusive: true
|
|
|
|
row_listener.sequence_combo('d l', function() {
|
|
|
|
},
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'delete');
|
|
|
|
|
|
|
|
});
|
|
|
|
{
|
|
|
|
|
|
|
|
keys: 'm e',
|
|
|
|
|
|
|
|
on_keydown:
|
|
|
|
|
|
|
|
function() {
|
|
|
|
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'merge');
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
is_sequence: true,
|
|
|
|
|
|
|
|
is_solitary: true,
|
|
|
|
|
|
|
|
is_exclusive: true
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
keys: 'd l',
|
|
|
|
|
|
|
|
on_keydown:
|
|
|
|
|
|
|
|
function() {
|
|
|
|
|
|
|
|
tableEditAction(row.data('tableInfo').nRow, 'delete');
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
is_sequence: true,
|
|
|
|
|
|
|
|
is_solitary: true,
|
|
|
|
|
|
|
|
is_exclusive: true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$.each(el,
|
|
|
|
$.each(el,
|
|
|
|
function(column, content) {
|
|
|
|
function(column, content) {
|
|
|
|