UltraEdit is a bright spot among many IDEs. It has powerful functions. Here are some of its useful functions .
Many people initially liked UltraEdit because of its column mode.
Enter column mode: Alt C
1 Enter column mode
2 Select multiple rows
3 Add comment character
1 Enter column mode
2 Select the column for statistics
3 Column -- Column selection statistics
For more column mode operations, please refer here
var str = UltraEdit.getString("Please Enter a String:",1);
UltraEdit.activeDocument.write("")
Enter text for the currently active article
UltraEdit.getValue("Please enter an integer",1);
The display interface is the same as UltraEdit.getString
UltraEdit.document.length
Get the number of currently open documents
Use UltraEdit.document[x] to enumerate the currently open documents
UltraEdit gets the contents of the clipboard
UltraEdit.clipboardContent
Get the clipboard serial number and select the clipboard
UltraEdit.clipboardIdx
UltraEdit.selectClipboard(2);
Output into the output box
UltraEdit.outputWindow.write("This is a test.");
A
1 2 |
var str = UltraEdit.getString( "Please Enter a String:" , 1 );
UltraEdit.activeDocument.write(str);
|
Save as test.js
B
Script -- Script -- Add
C
Note: During the debugging process, all errors will be printed in the output window, so if the program fails to run, please debug in the output window, or you can use UltraEdit.outputWindow to debug
Eclipse’s Ctrl mouse jump function is what many people like, and UltraEdit also has this function
Use ctag
1 Create a project
2 Project--Create ctag file
3 Press F11 to locate the function definition
Advanced -- Customized Backup/Restore
Please refer here for more operations
Use replace directly (ctrl R)
"^p$" is replaced with ""