Some more progresses on the script editor: Cursor's position
File name text box
Changed content indicator
Undo/Redo
Load
Save
Save As
Cancel
Copy/Cut/Paste
Click on command -> Insert template at current cursor's position
The list is long but the code is pretty easy, I hope to complete this part in 2-3 days