Changeset 1450


Ignore:
Timestamp:
04/10/19 02:23:42 (3 months ago)
Author:
gogo
Message:

Save an undo point before inserting snippet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/QuickSnippet/QuickSnippet.js

    r1447 r1450  
    119119  var selected = options[options.selectedIndex].value; 
    120120  if(!selected) return false; 
     121   
     122  // Save an undo point 
     123  this.editor._undoTakeSnapshot(); 
    121124   
    122125  selected = this.editor.config.QuickSnippet.snippets[selected]; 
Note: See TracChangeset for help on using the changeset viewer.