UltraEdit Advanced usage tips, UltraEdit use tips _php Tutorials

Source: Internet
Author: User
Tags ultraedit

UltraEdit Advanced usage tips, UltraEdit usage tips


UltraEdit is a very bright feature of many Ides, it is powerful, here say some of its very useful features.

Column mode

Many people like the UltraEdit initially because of its column pattern.

Enter column mode: Alt + C

How to comment on multiple rows

1 Entering column mode
2 Select multiple rows
3 Adding an annotation character

Computes the number of columns and

1 Entering column mode
2 Select columns for statistics
3 Columns--Column selection statistics

More column mode operation can refer to here

Scripts in the UltraEdit

Scripts only support Ascii/ansi files encoding, UTF-8 is an error

A few common commands

var str = ultraedit.getstring ("Please Enter a String:", 1);

UltraEdit.activeDocument.write ("")
Current active article input text

Ultraedit.getvalue ("Please enter an integer", 1);
The display interface is the same as ultraedit.getstring

UltraEdit.document.length
Gets the number of documents currently open
Enumeration of the currently open document using ULTRAEDIT.DOCUMENT[X]

UltraEdit getting the contents of the Clipboard
Ultraedit.clipboardcontent

Get the Clipboard sequence number and select the Clipboard
Ultraedit.clipboardidx
Ultraedit.selectclipboard (2);

Output to the Output box
UltraEdit.outputWindow.write ("This is a test.");

The simplest Hello World script

A

12 var str = UltraEdit.getString("Please Enter a String:",1);UltraEdit.activeDocument.write(str);

Save As Test.js

B

Script--Script--add

C

Note: All errors are played in the Output window during debugging, so if the program does not work, debug in the Output window, or you can use Ultraedit.outputwindow to debug

How do I jump through functions and classes?

Eclipse Ctrl + Mouse jump function is a lot of people like the reason, UltraEdit also has this function

Using Ctag

1 Creating a Project
2 Project--Create a Ctag file
3 position to function definition by F11

Some other little tricks.

How to save settings for the current Ultredit

Advanced-backup/restore user customization

For more information, see here

How to remove a blank line

Use replace directly (CTRL + R)
"^p$" is replaced by ""

http://www.bkjia.com/PHPjc/1114986.html www.bkjia.com true http://www.bkjia.com/PHPjc/1114986.html techarticle UltraEdit advanced use of skills, ultraedit use of skills ultraedit is a lot of the IDE has a bright spot, it is powerful, here say some of its very useful features. A lot of column patterns ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.