Slick EDIT V3.3 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Computerzubehör Slick EDIT V3.3 herunter. Slick EDIT V3.3 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 568
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Code Quick | Think Slick
®
SlickEdit Inc.
3000 Aerial Center Parkway, Suite 120
Morrisville, NC 27560
USA
1.919.473.0070
1.800.934.EDIT
1.919.473.0080 fax
www.slickedit.com
SlickEdit
®
Core v3.3 for Eclipse
SlickEdit, Visual SlickEdit, Clipboard Inheritance, DIFFzilla, SmartPaste,
Context Tagging, Slick-C, and Code Quick | Think Slick are registered
trademarks of SlickEdit Inc. All other products or company names are
used for identification purposes only and may be trademarks of their
respective owners. Protected by U.S. Patent 5,710,926.
Copyright 1988-2008 SlickEdit Inc. All rights reserved.
SlickEdit
®
Core v3.3
for Eclipse
08SLICK0011_CORE_upd 1/24/08 11:05 AM Page 1
Seitenansicht 0
1 2 3 4 5 6 ... 567 568

Inhaltsverzeichnis

Seite 1 - Core v3.3

Code Quick | Think Slick®SlickEdit Inc.3000 Aerial Center Parkway, Suite 120Morrisville, NC 27560USA1.919.473.00701.800.934.EDIT1.919.473.0080 faxinf

Seite 2

Surround With ...166Unsurround ...

Seite 3

To place the cursor on the opposite end of the structure when the cursor is on a begin or end keywordpair, press Ctrl+] (find_matching_paren command o

Seite 4

Setting the Paren Match StyleAs you type a closing parenthesis, highlight and matching options are available. To specify these options,click Window →

Seite 5

The cursor is moved half the window width to the left/right as well.Navigating in Statements and TagsThe following navigation commands are available f

Seite 6

goto_line <linenumber>.Navigating to an OffsetTo seek to a byte offset in the current buffer, from the main menu click Navigate → Go to Offset,

Seite 7 - Table of Contents

Symbol BrowsingSlickEdit® Core gives you the ability to browse and view symbols in your files or workspaces. Symbolbrowsing relies on Context Tagging®

Seite 8

If you are coding within a class, the top pane (hierarchy pane) of the view window shows the base classhierarchy for the current class. The bottom pan

Seite 9

the current class is displayed at the top of the view window.If you are not currently in a class (or enum or interface), the hierarchy pane is blank a

Seite 10 - ® Core v3.3 for Eclipse™

To add an item to the list, type the name in the Add Item To List text box, then press Enter. Click thebuttons to remove selected items or to clear th

Seite 11

• Show in Symbol Browser - Jumps to the member in the symbol browser. See Symbols View for moreinformation.• Increase/Decrease Listed Members Limit -

Seite 12

The name of the file is displayed at the top of the view window. Hover the mouse over the bitmap of anysymbol in the window to see a tooltip that show

Seite 13

Javadoc Editor ...252Organizing Java Import

Seite 14

• Display Files - (Disabled in SlickEdit Core) Displays the names of the files that are open in the editor.Deselect this option to only show symbols i

Seite 15 - List of Figures

provides this same capability, it cannot match the speed of Find Symbol.See Find Symbol View for information about the options that are available on t

Seite 16

The Preview view contains the following components:• Symbol list - This is the list of all symbols which are currently being previewed. In most cases,

Seite 17

Table 6.1. Preview View InformationEditor Element in Use Preview View DisplayAny source file open in the editor The Preview view shows the definition

Seite 18

The References view automatically comes into focus when you use the Go to Reference feature or whenyou select References from the right-click menu of

Seite 19

References View OptionsRight-click on a symbol or file in the left pane of the References view to display the following options:• Contents - Displays

Seite 20

The top part of the view window contains an option and combo boxes that are used for filtering. The bot-tom part of the window lists the symbols group

Seite 21 - List of Tables

• The items listed under the Classes folder are global classes that are not part of a namespaceor package.To clear the filters and see all items again

Seite 22

• Base Classes - Displays the Base Classes dialog, which shows a list of base classes for the selectedclass on the left with the list of that class’s

Seite 23 - Chapter 1. Introduction

Right-click in this tree to display/modify the symbol filters. Items in the tree can be expanded to view usesrecursively. Double-click or press the sp

Seite 24 - Write More Code, Faster

Select Text to Paste Dialog ...340Enumerate Dialog ...

Seite 25 - Get Started

The left pane of each dialog contains a tree showing the class inheritance hierarchy (the class list). Theright pane shows a list of the members of th

Seite 26 - Documentation and Conventions

Each option has three states: If the option is selected, only the specified items will be displayed. If the op-tion is deselected, the specified item

Seite 27 - Code Syntax Conventions

• Inherited - When selected, only inherited members that this class can access are displayed. Whenunselected, only members of this class are displayed

Seite 28

• Native - When selected, only methods explicitly defined with the native keyword are displayed. Whenunselected, only non-native methods are displayed

Seite 29

Code Templates102

Seite 30 - Embedded Languages

Code TemplatesCode templates are pre-defined units of code that you can use to automate the creation of common codeelements, like a standard class imp

Seite 31 - Supported Editor Emulations

We call the process of creating new files from a template "instantiating a template". When a template isinstantiated, you are prompted for t

Seite 32 - Install/Uninstall

Creating TemplatesCreating templates is very much like writing code. To create a new code template, complete the followingsteps:1. Create the template

Seite 33 - Licensing

tails.Use the Template Manager to Create a New TemplateClick File → SlickEdit Template Manager to bring up the Template Manager. Select the User Templ

Seite 34 - Repairing a License

default delimiter $ is used:Table 6.2. Predefined Substitution ParametersParameter Name Description$itemname$ Name of item entered, as on the Add New

Seite 35 - Uninstalling SlickEdit® Core

Configuration Variables ...479Viewing Configurat

Seite 36 - Help and Product Support

Parameter Name Description$safeprojectname$ Current project name (no path, no extension), withall unsafe characters replaced with safe characters.For

Seite 37 - Chapter 2. Quick Start

1. Create a new folder under the user templates directory. For example, if you wanted to create a Dialogscategory for Java project items, you would cr

Seite 38 - General Options

Template Manager DialogThe Template Manager dialog is made up of the following elements:• Categories - Lists a hierarchy of item categories for instal

Seite 39 - Extension-Specific Options

menu inside the list of parameters.Template Options DialogUse this dialog to edit options that are common to all templates. You can launch this dialog

Seite 40

from a template, as when adding an item template to your project from the Add New Item dialog box, youcan configure your template to replace all subst

Seite 41 - Chapter 3. User Interface

• Location - Enter the location to which to save the item.• Add to current project - When selected, the new item is added to the current project.• Add

Seite 42 - Screen Layout

organized, see Organizing Templates.2. Create or edit a code file (e.g. *.cpp, *.java, etc.). Replace occurrences of substitutable text withsubstituti

Seite 43 - The SlickEdit® Core Editor

class $safeitemname$ {};Creating a Multi-file TemplateA multi-file template is a template item that creates more than one file.Multi-file templates re

Seite 44 - ® Core Editor

<File TargetFilename="$fileinputname$.cpp">MyClass.cpp</File><File TargetFilename="$fileinputname$.h">MyClass.h&

Seite 45 - ® Core Editor and Eclipse

ElementsDefaultNameDefaultName is an optional child element of TemplateDetails. Specifies the default item name when us-ing the Add New Item dialog bo

Seite 47 - Status Area

• Child elements - None.• Parent elements - TemplateDetails.• Value - Text value is required. The text value specifies the description of the template

Seite 48 - Command Line

ExampleThe following example illustrates the metadata for an item template for a C++ class that creates a headerfile (.h) and implementation file (.cp

Seite 49 - SlickEdit Views

<Description>My complete C++ class header and implementation</Description><DefaultName>MyClass.cpp</DefaultName></TemplateD

Seite 50 - ® Core Views

ParameterParameter is an optional child element of Parameters. Specifies a custom substitution parameter for thetemplate item. For a list of pre-defin

Seite 51 - Slick-C® Stack

ParametersParameters is a required child element of TemplateContent. Specifies custom substitution parametersfor the template item. For a list of pre-

Seite 52 - Activating the Command Line

• Version - Template version number. The current version is "1.0".• Type - Template type. Valid types are: "Item".• Child elements

Seite 53 - Command Line Completions

ExampleThe following example illustrates the metadata for an item template for a custom Java class.<?xml version="1.0" ?><!DOCTYPE

Seite 54 - Command Line Prompting

<TemplateContent><Files><File>MyClass.java</File></Files></TemplateContent></SETemplate>TemplateDetailsTempl

Seite 55 - ® Core Commands

Text EditingSlickEdit® Core provides familiar operations for selecting, copying, moving, and operating on text, with en-hanced capabilities to meet th

Seite 56

Block selections, also known as column selections, are used to process columns of text. To select ablock, use one of the following methods:• Keyboard

Seite 57 - Using the Mouse and Keyboard

List of Figures1.1. Embedded Languages in HTML ...81.2.

Seite 58

The figure below shows how the original example changes when you type "int" at the cursor while theblock is selected.Figure 6.15. Block Inse

Seite 59 - Redefining Common Keys

Key or Key Sequence FunctionShift+Up Start or extend selection up one line.Shift+Down Start or extend selection down one line.Shift+PgUp Start or exte

Seite 60

Command Key Sequence or Menu Item Descriptionchange the line insert style. Toaccess the line insert style, clickWindow → Preferences, expandSlickEdit

Seite 61 - Chapter 4. User Preferences

Command Key Sequence or Menu Item Descriptionlog, click the More Tab, then setthe Line insert style to Before.fill_selection, gui_fill_selection Edit

Seite 62 - Global Preferences

Command Key Sequence or Menu Item Descriptionlected area. Line selections areword-wrapped with current marginsettings. Block selections areword-wrappe

Seite 63 - Emulations

Adding Numbers to a Selection: EnumerationYou can automatically add incrementing numbers to a selection of code by using the enumerate com-mand. To co

Seite 64 - Changing Emulations

7. Select entire file8. DeselectExcept for empty character selections and line selections, the selections are locked so that the cursor re-mains stati

Seite 65 - Determining Keys/Functions

If using Brief emulation and a clipboard is wanted when cutting text, bind the commandscut_word, cut_end_line, and cut_line to the appropriate keys.A

Seite 66 - Key and Mouse Bindings

dent levels, or decimal points shown. To set these options, from the main menu, click Window → Prefer-ences, expand SlickEdit and click General in the

Seite 67 - Managing Bindings

The following options are available:• Type of sort - Choose the type of sort that you prefer from the following options:• Sort buffer - When this opti

Seite 68

6.22. Dynamic Surround: Example 2 ...1636.23. Dynamic Surro

Seite 69 - Creating Bindings

To use the command line for sorting, first activate the command line by pressing Esc. Sort command syn-tax is in the form SortCommandOptionLetter(s).

Seite 70

Color CodingThis feature is designed to combine current line coloring, modified line coloring, and language-specificcoloring. By default, the fundamen

Seite 71 - Removing Bindings

Creating Color Coding for a New LanguageTo create color coding support for your language, complete the following steps:1. From the main menu, click Wi

Seite 72 - Key Binding Settings

Select the language that you wish to work with from the Lexer name drop-down list.Click New to prompt for a lexer name to start a new language-specifi

Seite 73

and how to create a new lexer name, see VLX File and Color Coding.Color Coding SettingsThere are several extension-specific settings that can be made

Seite 74 - Scroll Style Settings

Syntax Indent and SmartPaste®Syntax Indent and SmartPaste are two of the many SlickEdit® features designed to decrease typing, im-proving your coding

Seite 75 - Setting Fonts and Colors

Note• When you change the tab stops and indent for all languages except COBOL, change the Tabstext box to +<value> where value is the same value

Seite 76

NoteSmartPaste only works with line selections. For information about creating a line selection, seeLine Selections.Completions145

Seite 77

CompletionsCompletions save keystrokes as you are typing code by providing a way to automatically complete par-tially-typed text. There are several ty

Seite 78

These visual hints can also be individually turned on or off through the Auto-Complete options. See Auto-Complete Tab.TipAuto-Complete can be activate

Seite 79 - Using Color Schemes

7.18. XML Beautifier: Attributes/Values Tab ...2607.19. XML Beautifier:

Seite 80

Auto-Complete options can be configured for each file extension type. This allows you to activate and de-activate particular features on a per-languag

Seite 81 - Restoring Settings on Startup

To configure Auto-Complete settings, from the main menu, click Window → Preferences, expandSlickEdit and click General in the tree, then double-click

Seite 82

AliasesAliases are identifiers that you can quickly type which are then expanded into snippets of text. You canuse aliases for commonly typed function

Seite 83 - Chapter 5. Context Tagging®

2. Select alias.slk and click OK. The Alias Editor dialog appears.3. Click New, then type the characters you wish to use for an identifier in the Alia

Seite 84 - Context Tagging® Overview

If you keep source code in a version directory tree, you might want to set an environment variable andembed the environment variable in the alias valu

Seite 85

1. From the main menu, click Window → Preferences, expand SlickEdit and click General in the tree,then double-click the File Extension Setup setting.

Seite 86

Alias names are displayed in the list box at the top left of this dialog box. The value for the selected aliasname is displayed in the large text box

Seite 87

• You can use special escape sequences in your aliases, which will be substituted upon expan-sion with certain values. See Alias Escape Sequences for

Seite 88 - Statement Level Tagging

Escape Sequence Description%\x-Increment Decrement column by ddd.%\s Preserves trailing spaces - place at the end of aline.%\l Preserves leading space

Seite 89 - Building Tag Files

Alias Name and Description Valuewm - A WinMain function template with indentingand a cursor position.int APIENTRY WinMain(HANDLE hInstance,HANDLE hPre

Seite 90

10.17. Organize Imports Options Dialog ...36910.18. 3-Way Merge D

Seite 91 - ® - Tag Files dialog

7. In the large text field on the right side of the Alias Editor, you can now type the alias value. In theplaces where you want parameter prompting to

Seite 92 - Managing Tag Files

Syntax ExpansionSyntax Expansion is a feature designed to minimize keystrokes, increasing your code editing efficiency.When you type certain keywords

Seite 93 - Tag File Categories

To change the minimum expandable keyword length, enter the value by using the Minimum expandablekeyword length spin box.To set options such as brace s

Seite 94 - Rebuilding Tag Files

To add syntax expansion and indenting for other languages, complete the following steps:1. Use the prg.e macro as a template. This file is located in

Seite 95 - Context Tagging® Options

Dynamic Surround and Surround WithTwo SlickEdit® Core features that allow you to surround text with text are Dynamic Surround, which letsyou surround

Seite 96 - ® Options

After pressing Space to expand the template, Dynamic Surround is activated, with a blue rectangle drawnaround the expanded statement, as shown below:F

Seite 97 - Chapter 6. Editing Features

Pressing the Down arrow key pulls the code block into the statement, indented to the correct levels, asshown below:Figure 6.23. Dynamic Surround: Exam

Seite 98 - Navigation

The finished code is shown as follows:Figure 6.24. Dynamic Surround: Example 4Dynamic Surround165

Seite 99 - Begin/End Structure Matching

Statements that are pulled into the block are indented according to your settings on the Indent Tab of theExtension Options dialog (Window → Preferenc

Seite 100

surround, right-click, and select Surround Selection With, or use the surround_with command. TheSurround With dialog appears, with a pre-defined list

Seite 101 - Cursor Navigation

10.66. FTP Options: Debug Tab ...46510.67. Reflow Com

Seite 102 - Navigating to a Specific Line

To modify one of the Surround With structures, complete the following steps:1. Select the structure that you wish to modify. Notice the template for t

Seite 103 - Navigating to an Offset

• surround_with - This command is used to display the Surround With dialog, allowing you to pick astructure to surround selected text with. This comma

Seite 104 - Symbol Browsing

will be used. In the case of surround_with_if, "if" matches the beginning of both the if and if...else tem-plates, but the if template is us

Seite 105 - Class View

structure into a different location, because as soon as the text is pasted, SlickEdit® Core enters DynamicSurround mode, allowing you to pull statemen

Seite 106 - Class Exclusion Manager

BookmarksBookmarks are used to save the current edit location, so you can quickly return to it later. There are twotypes of bookmarks:• Named Bookmark

Seite 107

name is used if the bookmark is inside of a symbol. The file name is used if there is no symbol on the lineor if the file does not support Context Tag

Seite 108 - Outline View

Pushed BookmarksPushed bookmarks are stored on a stack. New bookmarks can be pushed onto the stack, preserving thecurrent location. Popping the stack

Seite 109 - Outline View Options

Most bookmark options are located on the Search Tab of the General Options dialog (click Window →Preferences, expand SlickEdit and click General in th

Seite 110 - Find Symbol View

Setting BreakpointsThe quickest way to set or clear a breakpoint is to press F9. This toggles the breakpoint for the currentline.The breakpoints funct

Seite 111 - Preview View

CommentingSlickEdit® Core makes commenting your code easy. You can comment out selected text, or type the startcharacters for a new doc comment and ha

Seite 114

right sides of a line comment.For code examples and descriptions of the other available options, see Comments Tab.Creating Doc CommentsDoc comments ar

Seite 115 - Symbols View

Javadoc FormatTo use the Javadoc commenting format, select the start characters /** and use style @param. Check In-sert leading *. Using the following

Seite 116

Doxygen FormatTo use a Doxygen comment format, select the start characters /*! or //! (based on your preference) andthe \param style. Using the follow

Seite 117 - Symbols View Options

types of width settings:• Fixed - Comments will be formatted to a specified width.• Automatic - Comments will be formatted according to the width of e

Seite 118

Find and ReplaceSlickEdit® Core provides several different ways to search and replace:• For the fastest method of searching and replacing, use Quick S

Seite 119

using the command line, use the i_search command (Ctrl+I). To start a reverse incremental search, usethe reverse_i_search command (Ctrl+Shift+I).The f

Seite 120 - Symbol Browser Filter Options

Keys FunctionCtrl+Shift+W (GNU Emacs emulation) Toggle word searching onand off.Incremental searching stops when you press a key that does not insert

Seite 121

Option DescriptionR Interpret search string as a SlickEdit® regular ex-pression.U Interpret search string as UNIX regular expression.B Interpret strin

Seite 122

Option Descriptioncharacter of a DBCS sequence unless this option isspecified., (Comma) Delimiter to separate ambiguous options.XCCLetters Requires th

Seite 123 - Symbol Properties View

Option Description* Used with the “Search hidden text” (H) or “Highlightmatches” (#) options to find all matches and un-hideor highlight them.& Us

Seite 124 - Code Templates

List of Tables1.1. Supported Languages and File Types ...63.1. UI

Seite 125

Key ActionY or Space Make change and continue searching.N or Backspace No change and continue searching.L or Dot Make change and stop searching.G or !

Seite 126

Key ActionReplace Command Search ExamplesThe table below provides examples of using command line replace.Table 6.12. Replace Command Search ExamplesEx

Seite 127 - Creating Templates

Find and Replace ViewYou can use the Find and Replace view (Ctrl+F or Search → SlickEdit Search/Replace) to specifysearch and replace options and cond

Seite 128 - Substitution Parameters

prompted to name the operation. To access a saved operation, select Saved List from the submenu,then pick the saved operation to load.Syntax-Driven Se

Seite 129

the only open search view windows. You can open and close search results view windows by right-clicking on the Search Results tab in the SlickEdit Cor

Seite 130 - Organizing Templates

Characters have special meaning during search and replace operations.• UNIX regular expressions - When regular expressions are turned on for a search

Seite 131 - Template Manager Operations

Example DescriptionReplace with: \d12SlickEdit regular expression:Search for: ^a+$Replace with: \12Brief regular expression:Search for: <a+$Replace

Seite 132 - Template Manager Dialog

Example DescriptionUNIX regular expression:Search for: (if|while)Replace with: x\1y\2SlickEdit® regular expression:Search for: {if|while}Replace with:

Seite 133 - Add Parameter Dialog

• SlickEdit regular expression:Search for: {[0-9]#}Replace with: $#0• Brief regular expression:Search for: {[0-9]\:+}Replace with: $\0If the minimal m

Seite 134 - Add New Item Dialog

Beautifying CodeCode BeautifiersCode beautifiers, available for many languages, reformat the layout of existing text based on settings thatyou specify

Seite 136

RefactoringRefactoring is a precise code editing feature that you can use to clean up and improve the understandab-ility of your source code. Refactor

Seite 137

Quick Extract MethodAfter selecting a set of lines, Quick Extract Method creates a new method with the selected lines as thebody. It discovers any und

Seite 138

Quick Modify Parameter ListThis refactoring allows you to add, delete, and re-order parameters for a selected function. The refactor-ing will modify t

Seite 139 - Elements

Available C++ RefactoringsTo access the C++ refactorings, from the main menu, click C/C++ Refactoring. The C++ Refactoringmenu can be also be accessed

Seite 140

The Method name text box allows you to choose the name of the newly extracted method. Uncheck Re-place selected code with call to new method if you do

Seite 141

Push Down to Derived ClassMoves class members to a class that inherits from the selected class.Figure 6.34. C++ Refactoring: Push Down to Derived Clas

Seite 142

If a member of the super class is used by multiple subclasses, then the member is moved to all of thesubclasses that access that member, so that when

Seite 143 - Parameter

Pull Up to Super ClassAutomates moving members from a selected class to one of its directly-inherited base classes.Figure 6.36. C++ Refactoring: Pull

Seite 144 - SETemplate

Class members are pulled up one level at a time. Constructors and destructors cannot be moved. Any de-pendencies that are not part of the original cla

Seite 145 - SortOrder

Encapsulate FieldGenerates get and set functions for the specified variable and makes that variable private. All referencesto the variable are replace

Seite 146 - TemplateContent

Chapter 1. Introduction1

Seite 147 - TemplateDetails

Extract ClassBreaks a large class into a better abstraction by moving some responsibilities into a new class or inter-face. This refactoring creates n

Seite 148 - Text Editing

Extract Super ClassBreaks a large class into a better abstraction by moving some responsibilities into a new class/interface.The extracted class becom

Seite 149

Move MethodMoves a method from one class to another and updates references accordingly.The original method may be converted to a delegate method if th

Seite 150 - Selection Keys

If the method is static, you will be prompted for the target class.Figure 6.43. C++ Refactoring: Move Method 2Move Static FieldMoves a static data mem

Seite 151 - Modifying Selected Text

Convert Static to Instance MethodChanges a static method to an instance method and updates any references to change how the methodis accessed.Convert

Seite 152

Convert Local to FieldMoves a local variable from the body of a method into an instance member variable in the current class.References to the local v

Seite 153

Create Standard MethodsCreates an assignment operator, copy constructor, default constructor, and destructor for the selectedclass.Figure 6.48. C++ Re

Seite 154

Test Parsing ConfigurationTest Parsing Configuration analyzes the C++ refactoring configuration that has been set up and reportskey information and er

Seite 155

Figure 6.49. Test Parsing Configuration: Example 1C++ Refactoring216

Seite 156 - Using Clipboards

The following example shows a warning that is not severe enough to prevent parsing of the file.Figure 6.50. Test Parsing Configuration: Example 2C++ R

Seite 157 - Working with Lines

Getting the Most Out of SlickEdit® CoreAt SlickEdit, we take great pride in delivering unparalleled power, speed, and flexibility to our customers.Our

Seite 158 - Sorting Text

Finally, the following example shows a test resulting in no errors or warnings.C++ Refactoring218

Seite 159 - Sort Commands

Figure 6.51. Test Parsing Configuration: Example 3Reviewing Refactoring Changes219

Seite 160 - Inserting Literal Characters

Reviewing Refactoring ChangesWhen a refactoring finishes, the Refactoring results dialog box is displayed, allowing you to review thechanges.Figure 6.

Seite 161 - Color Coding

• The bottom pane lists all files that have been modified by the refactoring. Clicking on any file in this listbrings that file into view, where it ca

Seite 162 - Color Coding Configuration

• User Supertype Where Possible• Inline• Introduce Factory• Encapsulate FieldSee the Eclipse Help for descriptions and other information regarding Jav

Seite 163

Viewing and DisplayingSlickEdit® Core offers several features for viewing and displaying.Hexadecimal View and Edit ModeTo view a binary or text file i

Seite 164 - Color Coding Settings

To define which characters to display, from the main menu click Window → Preferences, expandSlickEdit and click General in the tree, then double-click

Seite 165 - Syntax Indent and SmartPaste®

hide. This dialog is displayed by clicking Display → Selective Display, or by using the selective_displaycommand.When Selective Display is active, a P

Seite 166 - SmartPaste®

well. This command ignores hidden lines and only copies visible text. This operation does not work withblock selections.• To redisplay all lines and r

Seite 167 - Completions

The Selective Display dialog also contains static options for expanding/collapsing sub-levels. See Select-ive Display Dialog for more information and

Seite 168

Tools and Utilities for more information.Get StartedTo get started, check out Chapter 2, Quick Start. This will guide you through configuration of som

Seite 170 - Word Completion

Chapter 7. Language-Specific Editing229

Seite 171

Language-Specific Editing OverviewMany features in SlickEdit® Core are language-specific and based on the language editing mode. Youcan also configure

Seite 172 - Directory Aliases

Extension OptionsThe behavior of the editor can be customized for files based on specific language extensions. The Exten-sion Options dialog box (show

Seite 173 - Using Directory Aliases

To have the setup data for one extension refer to another extension, click the Refer to button (located atthe top right corner of the Extension Option

Seite 174 - Extension-Specific Aliases

C and C++This section describes some of the advanced features and options that are available in SlickEdit® Corefor C and C++, including extension-spec

Seite 175 - Using the Alias Editor

Use this tab to specify the brace style used by template editing and smart indenting. Choose the style youwant to use then select from the following o

Seite 176

The following options are available:• Indent first level of code - Specifies whether smart indenting should indent the cursor after declara-tions such

Seite 177 - Alias Escape Sequences

lows:myLongMethodName(firstarg,secondarg,thirdarg);myLongMethodName(firstarg,secondarg,thirdarg,);• No space before paren - Determines whether a space

Seite 178 - Escape Sequence Examples

The following options are available:• Main style - Specifies the main function declaration template inserted. Select ANSI C/C++ if you wantan old ANSI

Seite 179 - Parameter Prompting

Documentation and ConventionsAccessing DocumentationDocumentation is located in the SlickEdit® Core installation directory at<PathToSlickEditCore&g

Seite 180

• Sync extension options - When this option is selected, the extension options are updated to reflectany changes that these dialogs have in common. Fo

Seite 181 - Syntax Expansion

Indenting TabThis tab provides indenting parameters that you can use when working with C/C++ files in SlickEdit®Core.Figure 7.7. C/C++ Beautifier: Ind

Seite 182

to the Syntax indent text box on the Indent Tab of the Extension Options dialog.• Original tab size - The value in this field specifies the size of th

Seite 183

The following options are available:• Indent stand alone comments - Indicates whether comments that appear on lines by themselves withno statement tex

Seite 184 - Dynamic Surround

column as the original source file. Trailing comments are comments that appear at the end of lines thatcontain statements or declarations.• Original r

Seite 185

The following options are available:• Indent preprocessing - When this option is selected, the indent before the # character of prepro-cessing is set

Seite 186

To define a new scheme, set the various beautify options, and press the Save Scheme button. Userdefined schemes are stored in uformat.ini.C/C++ Compil

Seite 187

NoteIt is possible to select other compilers for individual projects. In those cases, the project-specificcompiler is used and overrides the global de

Seite 188 - Surround With

#define MYNAMESPACEDECL(name) namespace name {#define MYPACKEDMACRO __packed#define MTYPELESS void*#define MYPOINTER(t) t*#define MYNULL ((void*)0)#de

Seite 189

7. When finished, click OK.8. A prompt appears asking whether to rebuild your workspace tag file. Click Yes.Preprocessor macros are stored in usercpp.

Seite 190 - Surround With Commands

the main menu, then select Preferences from the Window submenu.Our documentation structure is set up so that instructions for using the product make u

Seite 191

JavaThis section describes some of the features and options that are available for Java, including extension-specific options, the Javadoc Editor, and

Seite 192 - Unsurround

The following settings are available:• Begin-End Styles - Specify the brace style to be used for template editing and smart indenting, thenchoose from

Seite 193 - ® Core enters Dynamic

• Use continuation indent on function parameters - Determines whether function parameters shouldalways use the continuation indent.By default, we form

Seite 194 - Bookmarks

}},thirdarg);myLongMethodName(new ActionListener() { // special case anonymous classfirst argumentpublic void actionPerformed(ActionEvent e) {createdB

Seite 195 - Bookmarks View

• Add blank line after parameter comment - If checked, a blank line is added if a tag follows an@param tag.• Add blank line after parameter comment gr

Seite 196 - Setting Bookmark Options

Java RefactoringSee Java Refactoring for information about Java refactoring in SlickEdit® Core.Java Refactoring253

Seite 197

XML and HTMLFeatures for XML and HTML are described below. See also XML/HTML Formatting.XMLXML features in SlickEdit® Core include Context Tagging®, v

Seite 198 - Setting Breakpoints

The following settings are available:• Case for inserted tags - This option is to specify if you want your tag names to be lowercase or upper-case. Fo

Seite 199 - Commenting

and Slick-C®. Note that by default, when creating a new comment, the Javadoc Editor is displayed for allfile types except C#. To work around this limi

Seite 200 - Creating Doc Comments

The following settings are available:• Indent for each level (Syntax indent) - The amount to indent for each new nesting level of tags. Wehave put the

Seite 201 - XMLdoc Format

Supported Languages and EnvironmentsThis section lists the languages and file types supported by each SlickEdit® Core feature as well as thesupported

Seite 202 - Comment Wrapping

• Broken tag lines - Specify how broken tag lines are treated from the following options:• Indent from tag column by - Specifies the amount to indent

Seite 203 - Reflowing Comments

• Reformat - When off, all white space and line breaks are preserved. However, tags are formatted(tag case, attribute case, etc.).• Indent - When on,

Seite 204 - Find and Replace

<tr><td></td></tr>Please note that the number of line breaks is not the same as the number of blank lines. If youwanted three

Seite 205

The Attributes/Values tab contains the following settings:• Attribute case - Specifies how you want attributes cased inside the body of a tag. For exa

Seite 206 - Find and Replace Commands

Figure 7.19. XML Beautifier: Comments TabThe Comments tab contains the following options and settings:• Indent stand alone comments - When on, indicat

Seite 207 - ® regular ex

ginal source file. By trailing comments, we mean comments which appear at the end of lines whichcontain tags.• Original relative column - When on, &qu

Seite 208

• Remove blank lines - When on, blank lines are deleted.Schemes TabFigure 7.21. XML Beautifier: Schemes TabTo define a new scheme, use the Beautifier

Seite 209 - Replace and c Commands

Map URLs to a different location. Whenever opening a URL, the URL map is examined to see if this URLis mapped to a different location. If the URL is m

Seite 210

5. Click OK.Toggling Between Begin and End XML TagsPlace the cursor anywhere on the begin or end tag and press Ctrl+] to find the corresponding end or

Seite 211

HTML Formatting OptionsContent in XML and HTML files may be set to automatically wrap and format as you edit, through theXML/HTML Formatting feature.

Seite 212 - Find and Replace View

Feature LanguagesJavadoc™ Editor ActionScript, C, C#, C++, J#, Java, JavaScript,Slick-CSelect/Hide Code Block ActionScript, Ada, C, C#, C++, CFML, Ch,

Seite 213 - Search Results Output

Languages similar to HTML have similar Formatting Options dialogs which are not specificallydocumented.Figure 7.24. HTML Formatting Options DialogHTML

Seite 214

The following settings are available:• Case for inserted tags - This option is where you specify if you want the tag names to be lowercase oruppercase

Seite 215 - ® regular expression:

• Use <DIV> tags for alignment - (Not available in SlickEdit Core.) This option is used by the HTMLtoolbar. When this option is selected, the &l

Seite 216 - ® search expressions:

Figure 7.25. HTML Beautifier: Indent TabThe following settings are available:• Indent for each level (Syntax indent) - The amount to indent for each n

Seite 217

wrapped until it reached a total length of 30+80=110 characters. Set this value to 0 if you want your linebreaks preserved.• Broken tag lines - Specif

Seite 218 - Undoing/Redoing Replacements

• Content - Specify how to beautify content from the following options:• Reformat - When off, all white space and line breaks are preserved. However,

Seite 219 - Beautifying Code

<TD></TD></TR>Please note that the number of line breaks is not the same as the number of blank lines. If youwanted three blank line

Seite 220 - Refactoring

The Attributes/Values tab contains the following settings:• Attribute case - Specifies how you want attributes cased inside the body of a tag. For exa

Seite 221 - Quick Extract Method

The Comments tab contains the following options and settings:• Indent stand alone comments - When on, indicates whether comments which appear on lines

Seite 222 - C++ Refactoring

• Original relative column - When on, "trailing comments" are indented by reusing the indent after thelast character of the end of the state

Seite 223 - Available C++ Refactorings

SlickEdit® Core v3.3 for Eclipse™

Seite 224 - Modify Parameter List

Embedded LanguagesSlickEdit® Core recognizes languages embedded in HTML, COBOL, Perl scripts, and UNIX shell scripts.When editing embedded languages,

Seite 225 - Push Down to Derived Class

any previous paragraphs.• Hitting a standalone tag - When on, the beautifier will interpret a standalone tag as a signal of theend of any previous par

Seite 226

XML/HTML FormattingContent in XML and HTML files may be set to automatically wrap and format as you edit. XML/HTMLFormatting is essentially comprised

Seite 227 - Pull Up to Super Class

next to Enable XML Formatting and/or Enable HTML Formatting. To toggle Tag Layout and/or Con-tent Wrap on or off for either file type, check or unchec

Seite 228

ate or open in SlickEdit® Core will be wrapped, but no Tag Layout settings will be applied. The secondscreen shot (the Current Document Options dialog

Seite 229 - Encapsulate Field

Default SchemesXML/HTML Formatting comes with two default schemes. Each time that you open an HTML file for edit-ing, by default, the html (default ht

Seite 230 - Extract Class

Specifying the Scheme to UseYou can specify a scheme to use for just the current document, or a default scheme to use for all HTMLand/or XML files tha

Seite 231 - Extract Super Class

Saving and Deleting SchemesIn the XML/HTML Formatting Scheme Configuration dialog, modified schemes are denoted by asterisksaround the name (for examp

Seite 232 - Move Method

formatted in your code. The following are examples:<div>Sample text of a tag set to (block) style.</div><h1>Sample text of a tag set

Seite 233 - Move Static Field

It contains the following general settings:• End tags settings - These options control how the end tags for the selected tag are formatted:• Has end t

Seite 234

Content Wrap SettingsThe Content Wrap tab of the XML/HTML Formatting dialog contains options for specifying how wrappingshould occur for the selected

Seite 235 - Replace Literal with Constant

document terminator with the color coding lexer name. The following Perl example shows HTML embed-ded in a Perl script. Unknown languages are color-co

Seite 236 - Create Standard Methods

• Preserve content - When selected, content between start and end tags is not wrapped, but the tagsare laid out properly with the parent tag. This cou

Seite 237 - Test Parsing Configuration

culated, and the specified width is adjusted accordingly. This is useful for producing uniform blocks oftext.• Preserve width of existing content - Wh

Seite 238

<div>|</div>Example of both settings unchecked:<div>|</div>Example of start checked and end unchecked:<div>|</div>

Seite 239

more blank lines, the values should be set to 2 or higher.More SettingsThe XML/HTML Formatting dialog contains two buttons along the bottom that allow

Seite 240

AdaThis section describes some of the features and options that are available for Ada, including extension-spe-cific options and the Ada Beautifier.Ad

Seite 241 - Reviewing Refactoring Changes

The tabs on the Ada Beautifier are described in the sections below.Indent TabThe following settings are available:• Indent with tabs - When checked, t

Seite 242

An operator position setting of Beginning of next line would result in:Seconds := Days* Hours_Per_Day* Minutes_Per_Hour* Seconds_Per_Minute ;Statement

Seite 243 - Java Refactoring

tions) have their colons vertically aligned. For example, before beautify:procedure foo ( A_Var : Boolean ;Another_Var : Boolean) ;After beautify:proc

Seite 244

• Nested paren list item - A parenthesized item that is itself enclosed in a larger parenthesized list.For example, before beautify:Default_Data : con

Seite 245 - Viewing and Displaying

the last character of the end of the statement or declaration.• Original relative indent - When selected, trailing comments are indented by reusing th

Seite 246 - Selective Display

Install/UninstallSystem RequirementsSlickEdit® Core runs on Microsoft® Vista™, Windows® XP, or Windows 2000 as well as Linux® x86/GTK2 (kernel 2.4 or

Seite 247

if A = Band C = D thennull ;end if ;• Additional indent for logical operator when followed by another line that begins with logicaloperator - Addition

Seite 248 - Selective Display Regions

COBOLThis section describes some of the advanced options that are available for COBOL.COBOL Formatting OptionsOptions are available for the COBOL lang

Seite 249 - Other Display Options

selected, the case of keywords are changed to the keyword case specified when you type them. Forexample, when you type the word "procedure"

Seite 250

PascalThis section describes some of the advanced options that are available for Pascal.Pascal Formatting OptionsOptions are available for the Pascal

Seite 251

The following options are available:• Begin-end style - Specify the begin/end style used by template editing and smart indenting. For eachstyle, selec

Seite 252 - Language Editing Modes

PL/IThis section describes some of the advanced options that are available for the PL/I language.PL/I Formatting OptionsOptions are available for the

Seite 253 - Extension Options

The following options are available:• DO/END style - Select the syntax expansion style that indicates whether syntax expansion shouldplace the DO on a

Seite 254 - Deleting an Extension

PythonThis section describes some of the advanced features that are available for the Python language.Begin/End Structure Matching for PythonBegin/End

Seite 256 - Indentation Tab

Chapter 8. Tools and Utilities307

Seite 257

Setup on Windows1. Open a command line utility and change to the SlickEditCoreSetup subdirectory of your Eclipseinstallation.2. Run the following comm

Seite 258 - Other Tab

Comparing and MergingSlickEdit® Core provides two powerful ways to compare and merge files: DIFFzilla and 3-Way Merge.DIFFzilla®DIFFzilla provides pow

Seite 259 - C/C++ Beautifier

Comparing Two FilesTo diff two source files, complete the following steps:1. From the main menu click Tools → File Difference, or use the diff command

Seite 260 - Begin-End Style Tab

file.NoteYou can only use the interactive dialog output style when diffing a selected range of lines. There-fore, the option Instead of an interactive

Seite 261 - Indenting Tab

path for Path 2 only.4. In the Diff type, select Symbols and click OK. You do not need to turn on the Diff all symbols checkbox when performing a mult

Seite 262 - Comments Tab

6. Click Save. The Save Multi-File Output dialog box opens.Figure 8.3. Save Multi-File Output DialogDIFFzilla®312

Seite 263

7. Select Save Path 1 Filelist, Include different files, and Include files not in Path2. All other checkboxes should be clear.8. Click OK and select a

Seite 264

The Backup History feature is available for viewing and comparing the differences between the currentand previous versions of an open file. It utilize

Seite 265 - Schemes Tab

2. In the Filename text box, enter the baseline (original) file name. Click the Ellipses button to the right ofthe text box to select files. Click the

Seite 266 - C/C++ Compiler Settings

3-Way Merge SettingsFor descriptions of the options on the 3-Way Merge Setup dialog, see 3-Way Merge Dialog.File History and Backups316

Seite 267 - C/C++ Preprocessing

File History and BackupsSlickEdit's Backup History is disabled in SlickEdit Core. Eclipse maintains their own backup history whichyou can access

Seite 268

• To buy a full license, visit the SlickEdit Web site at http://www.slickedit.com or select the Purchase aLicense option. That will take you directly

Seite 269

FTPFTP support includes an FTP view window and the ability to easily open and edit FTP files.Working with FTPBefore you can access FTP files, you must

Seite 270 - Java Formatting Options

2. Click Add to create a new profile. The Add FTP Profile dialog box is displayed.3. Click Edit to Edit a profile. The Edit FTP Profile dialog box is

Seite 271

3. Click Connect. The FTP view displays the content of the remote directory.4. Toggle the ASCII Transfer mode button to transfer text files. When in A

Seite 272

The Regex EvaluatorRegular expressions are used to express text patterns for searching. The Regex Evaluator provides thecapability to interactively cr

Seite 273 - Javadoc Beautifier

expression. Matches are also marked with a yellow arrow that appears in the gutter to the left of the testcase. You can hover your mouse on this arrow

Seite 274 - Organizing Java Imports

Using the Calculator and Math CommandsThe CalculatorTo access the calculator, click Tools → Calculator, or use the calculator command.Figure 8.8. The

Seite 275

To add hex FF with octal 77 with binary 111 with decimal 99, complete the following steps:1. Click Hex then type or click FF.2. Click +.3. Click Octal

Seite 276 - XML and HTML

Operator Description^ xor+, blank(s), - addition, implied addition, subtraction*, /, % multiplication, division, remainder** powerHexadecimal numbers

Seite 277 - XMLdoc Editor

Document MathType mathematical expressions into a buffer and evaluate them with the add command. This feature iscalled document math. The add command

Seite 278 - XML Beautifier

OS File BrowserSlickEdit® Core provides a way to display the operating system’s (OS) file manager/browser. For ex-ample, Windows Explorer is displayed

Seite 279

FLEXnet Publisher identifies your machine using a combination of information about the hardware on thismachine. No personal data is used in creating t

Seite 281

Chapter 9. Macros and MacroProgramming329

Seite 282 - Attributes/Values Tab

Recorded MacrosThere are two types of macros in SlickEdit® Core: macros that you record, described below, and macrosthat are available for programming

Seite 283

1. From the main menu, click Macro → Record Macro (or use one of the toggle methods to start record-ing, as described under Recorded Macro Operations

Seite 284

the execute_last_macro_key command (see Binding Macros Using execute_last_macro_key).Binding Macros Using the Key Bindings DialogAfter recording a new

Seite 285 - Advanced Tab

Creating bindings for recorded macros works the same as creating bindings for SlickEdit Core com-mands. Click Add to initiate the binding, then specif

Seite 286 - URL Mappings

NoteThe prefix key sequence Ctrl+Shift+F12 works in all emulations except SlickEdit text mode edi-tion. In that emulation, the prefix key sequence is

Seite 287

your configuration directory. To edit a macro bound using this method, open the .e file for the macro youwant to edit, make and save the changes, then

Seite 288 - Configuring the Web Browser

Programmable MacrosMany of the actions performed using SlickEdit® Core are performed using Slick-C® macros. Slick-C func-tions are mapped to menus, bu

Seite 289 - HTML Formatting Options

The data structure of the variable is displayed in the list box at the top of the dialog, and the value foreach entry is displayed in the Value text b

Seite 290

Help and Product SupportThere are several ways to get help about SlickEdit® Core:• Use the Help system - See Using the Help System below.• Search the

Seite 292 - HTML Beautifier

Chapter 10. SlickEdit Core Dialogs339

Seite 293

Editing DialogsThis section describes the SlickEdit® Core dialogs associated with text editing. See Text Editing for moredetails about editing operati

Seite 294

ing numbers to a selection using the enumerate command with options on the command line. See theHelp system for command syntax.Figure 10.2. Enumerate

Seite 295

Figure 10.3. Filter Selection: Command DialogEnter the command in the Command text box. The selected text will be used as input to the command,and the

Seite 296

Search DialogsThis section describes the SlickEdit® Core dialogs and views associated with searching and replacing.For more information about using se

Seite 297

• Find Tab• Find in Files Tab• Replace Tab• Replace in Files TabFind and Replace View: Context MenuRight-click in the background of the Find and Repla

Seite 298

• Search for - Enter the string you want to search for here. You can retrieve previous search strings byclicking the drop-down list button. Strings ma

Seite 299

menu click Window → Preferences, expand SlickEdit and click General in the tree, then double-clickthe File Extension Setup setting. On the Extension O

Seite 300

• Search hidden text - Select this option to search for text hidden by Selective Display. Matches foundthat were set to be hidden by Selective Display

Seite 301 - XML/HTML Formatting

Chapter 2. Quick StartSlickEdit® Core provides numerous configuration options so you can customize your environment accord-ing to your working style a

Seite 302

• Look in - This field allows you to specify a range for your search to the current selection, current pro-Find and Replace View348

Seite 303 - Working with Schemes

cedure, current buffer or all buffers.Click the right-pointing arrow button to the right of the Look in field to display a menu containing morespecifi

Seite 304 - Default Schemes

• Append to output - Select this option to append search results to the search results window that is infocus.• List filenames only - If selected, onl

Seite 305 - Creating Schemes

• Replace with - Enter the text or regular expression for which to replace the item that is searched. Youcan retrieve previous replacement text or reg

Seite 306 - Working with Tags

TipYou can use the menu items Edit → Undo and Edit → Redo to undo/redo replacements.Replace in Files TabThis tab on the Find and Replace View provides

Seite 307 - Formatting Settings

Find and Replace View353

Seite 308

• Leave modified files open - Select this option to open all of the files on which a replace has been per-formed.The Results options are the same as t

Seite 309 - Content Wrap Settings

• Search for - Enter the name of the symbol to find. If you select the option Use pattern, you can enterregular expressions or wildcards in the search

Seite 310 - Tag Content Width Settings

in the current function scope.• <Current Project> - Select this setting to only search in files that are in the current project.• <Current Wo

Seite 311 - Tag Layout Settings

• Manage tag files - Displays the Context Tagging - Tag Files Dialog, which can be used to updateyour tag files.Go to Definition DialogThe Go to Defin

Seite 312

General OptionsGeneral options affect all language extensions. You may want to look through all of the dialogs mentionedto see if there are any other

Seite 313 - More Settings

Dialogs Related to Viewing and DisplayingThis section describes SlickEdit® Core dialogs and views related to viewing and displaying within the edit-or

Seite 314 - Ada Beautifier

Search TextSelect Search text to specify a search string and display lines containing the search string specified orlines not containing the search st

Seite 315 - Indent Tab

WIN32S VERSION=4• Warning if Not Defined - If on when you preprocess your source, a message box is displayed for eachdefine found in an expression whi

Seite 316 - Vertical Alignment Tab

Macro DialogsThis section describes SlickEdit® Core dialogs related to macros. For more information about workingwith macros, see Recorded Macros, Pro

Seite 317 - Blank Lines Tab

The dialog shows a list of all macros you have recorded. Use the buttons to perform the following opera-tions:• Run - Runs the selected macro. See Run

Seite 318

The data structure of the variable is displayed in the list box at the top of the dialog, and the value foreach entry is displayed in the Value text b

Seite 319

• Update - Sets the contents of the variable to what is currently displayed in the Variable Editor.• Refresh - Cancels changes and displays current va

Seite 320

The following fields and settings are available:• Menu name - Name of the current menu resource. You can define your own menu resource which isused in

Seite 321 - COBOL Formatting Options

command, specify "help open dialog box" as the Help item. If you do not know the name of the dialogbox displayed, search for Help on the com

Seite 322

The following settings are available:• Requires editor control - Indicates that this command should be enabled only if operating on an editorcontrol.•

Seite 323 - Pascal Formatting Options

Extension-Specific OptionsThese options are specific to file extensions, and are available on the Extension Options dialog (open thePreferences dialog

Seite 324

• Requires a clipboard - Indicates that this command should be disabled if there is no editor control clip-board available.• Requires a selection - In

Seite 325 - PL/I Formatting Options

Tools DialogsThis section describes SlickEdit Core dialogs related to tools and utilties. See Chapter 8, Tools and Utilit-ies for more information.Org

Seite 326

these groups instead of having just one flat list of imports.• Number of package nesting levels to group imports by - If this is set to 1, import stat

Seite 327

The Ellipses buttons to the right of the text boxes are used to select files. The B buttons to the right of thetext boxes are used to select from the

Seite 328

plied to the output file and the change IS indicated, so that using the Next Conflict button will showyou the change.• Output style - Output style has

Seite 329

Diff TypesThe following Diff types are available:• Text Compare - Compares two files and shows the differences between them. When this option is se-le

Seite 330 - Comparing and Merging

• Use file on disk - Select this option to diff the file on disk and not the file in the buffer.• More - Click this button to display additional file

Seite 331 - Comparing Two Files

The file compare options, shown above, are described as follows:• Expand tabs into spaces before comparing - When selected, tabs are expanded to the a

Seite 332

Figure 10.21. DIFFzilla®: Dialog Setup OptionsSetup options for the DIFFzilla® dialog are described as follows:• Show gauge during diff - When selecte

Seite 333 - Generating File Lists

(history) or just places the current buffer name into the Path 1 text box. Press F7/ F8 to restore the pre-vious next dialog settings, respectively.Mu

Seite 334 - DIFFzilla®

SlickEdit® Core v3.3 for Eclipse™Information in this documentation is subject to change without notice and does not represent a commitment on the part

Seite 335 - Diffing File History

processor macros that you use in your code for portability or convenience. For performance considera-tions, Context Tagging does not do full preproces

Seite 336 - 3-Way Merge

• Next - Moves the cursor to the next set of mismatched files in both source trees.• Prev - Moves the cursor to the previous set of mismatched files i

Seite 337

the dialog lists all the source files indexed by the currently selected tag file.For descriptions of the Tag File categories, listed on the left side

Seite 338 - 3-Way Merge Settings

Options DialogsThis section describes SlickEdit® Core dialogs and views related to options.General Options DialogMany common user preferences can be s

Seite 339 - File History and Backups

The following options are available:• One file per window - (Not available in SlickEdit Core.) If checked, each file you open will be allocatedin its

Seite 340 - Working with FTP

• Alt menu hotkeys - (Not available in SlickEdit Core.) If checked, Alt-prefixed keyboard shortcuts willdisplay the corresponding drop-down menu. If u

Seite 341 - Starting a Connection

• Click past end of line - If checked, the cursor can be placed past the end of a line.• Vertical line column - Specifies the column in which the edit

Seite 342 - Setting FTP Options

The following options are available:• Default search options - The following default search options apply to all command line searches,quick searches

Seite 343 - The Regex Evaluator

• Match case - If checked, various search commands default to case-sensitive searches.• Match whole word - If checked, refines search results to match

Seite 344 - Regex Evaluator Options

ted.• Incremental search highlighting - If checked, when an incremental search is performed, matchingoccurrences will be highlighted with two colors:

Seite 345 - The Calculator

The following settings are available:• Styles - Choose the selection style you wish to use from the following options:• User defined - This option is

Seite 346 - Math Commands

Chapter 3. User Interface19

Seite 347 - Overflow/Underflow

lect behaviors.• CUA (default) - When this style is selected, selected text is deleted before a paste or character is in-serted unless the selection i

Seite 348 - Prime Numbers

NoteViewing special characters is only available for ASCII files.To access Special Characters options, from the main menu click Window → Preferences,

Seite 349 - OS File Browser

More TabThe More tab, pictured below, contains additional options that can be set for working with SlickEdit®Core. To access these options, click Wind

Seite 350

Figure 10.28. General Options: More TabThe following options are available:• Start in insert mode - If selected, the editing mode is set to insert whe

Seite 351 - Programming

wise, the editing mode is set to replace.• Throw away file lists - If selected, the modified File Manager file lists can be modified and closedwithout

Seite 352 - Recorded Macros

Elements and Setting Macro Variables for more information.• Scroll style - Select from the following options:• Smooth horizontal scroll - When selecte

Seite 353 - ® code (see Using

• Smart next window - (Not available in SlickEdit Core.) Use this combo box to select from the followingdifferent windowing styles:• Smart next window

Seite 354

The following options are available on the Exit tab:• Always save configuration - If selected, configuration changes are saved without prompting.• Alw

Seite 355

• Exit confirmation prompt - If selected, you will always be prompted when exiting the editor.Virtual Memory TabTo access virtual memory options, clic

Seite 356 - Running a Recorded Macro

The following options are available:• Spill file path - This text box specifies a directory where spill files and temporary files should beplaced. On

Seite 357 - Deleting Recorded Macros

Screen LayoutNoteSlickEdit® Core does not modify the Eclipse screen layout, so this information is intended only asa brief overview. See "Workben

Seite 358 - Programmable Macros

• Buffer cache size - The value in this field, specifies the maximum amount of memory used to store textbuffer data in kilobytes. A value that is less

Seite 359 - Setting Macro Variables

General settings on this dialog box are described below (see Extension Options - General DialogSettings). Other options are categorized into the follo

Seite 360

sions that support Extension Options. To configure Extension Options for an extension that is not in thelist, you must first load or create a file wit

Seite 361

The following options and settings are available:• Indent style - Select from the following indent styles:• None - When this option is selected, the E

Seite 362 - Editing Dialogs

the line only if the cursor position is before the intended indent location; otherwise, it will insert an ad-ditional tab stop. When this option is de

Seite 363

The following settings are available:• Margins - Sets the left, right, and new paragraph margins. Specify the column number at which eachmargin should

Seite 364

lows:• Wrap long lines to window width - This option activates Soft Wrap. A curved arrow is displayed atthe end of each line, along the right-hand bor

Seite 365 - Search Dialogs

The following options are available:• Mode name - Allows you to enter a more meaningful name for this extension setup. Define a modename here for the

Seite 366 - Find Tab

truncation line length to be moved or to be modified. For example, search and replace operations donot find data to the right of the truncating line l

Seite 367

Comment BlockThese settings are used when you comment out a selected block of text (Format → Comment Block orbox command). SlickEdit® Core provides ei

Seite 368

The WorkspaceThe workspace is a collection of projects. A project contains all resources such as source files, sub-folders, icons, and generated code.

Seite 369 - Find in Files Tab

if (!enabled) {tabState = TIS_DISABLED;}*/Select from the following comment block options:• First line is top - When this option is selected, the firs

Seite 370

placed:• At left margin - Places characters flush against the left margin of the editor window, as shown in theprevious example. The indent levels are

Seite 371

Javadoc, select /**. For XMLdoc, select ///. For Doxygen, select /*! or //!. See Doc Comment Examplesfor more information.• Use style - Select the tag

Seite 372 - Replace Tab

// The quick brown fox[CURSOR_HERE] jumped over the lazy dog.String EditingIf Split strings on Enter is selected, when you press Enter to split a line

Seite 373

The following options are available:• Enable comment wrap - When selected, comments are allowed to be wrapped. You must still specifythe type of comme

Seite 374 - Replace in Files Tab

If Maximum right column is used, comment lines will be wrapped when they reach the specifiedcolumn, even if they have not reached the specified fixed

Seite 375

The following options and settings are available:• Color coding options - The options below affect Color Coding. For more information about workingwit

Seite 376

• Select first (affects all extensions) - When checked (default), a selection can be made with theright mouse button instead of displaying the extensi

Seite 377 - ®> for the

The following options are available:• Enable auto-completion - If selected, activates the Auto-Complete feature. See Auto-Complete formore information

Seite 378

• Display after (ms) idle - The number of milliseconds the editor must be idle before auto-completionsuggestions will be displayed. This setting affec

Seite 379 - Go to Definition Dialog

To associate files to edit, complete the following steps:1. From the main menu, click Window → Preferences.2. Expand General, then expand Editors and

Seite 380 - Selective Display Dialog

List MembersThe following options apply to List Members. See List Members for more information.• Auto-list members - If selected, typing a member acce

Seite 381 - Preprocessor Directives

• Insert open parenthesis - If selected, selecting an item in the list inserts the current item in the list andany extra characters that are required

Seite 382 - Expansion Options

• Auto-list compatible parameters - If selected, compatible variables are automatically listed whenparameter info is active and typing the arguments t

Seite 383 - Macro Dialogs

Figure 10.40. Select a Tag DialogSelect the definition you want to go to. You can also check the options on this dialog to set the behaviorgoing forwa

Seite 384 - Variable Editor Dialog

• Backup Tab• AutoSave Tab• File Filters TabLoad TabThe Load tab, pictured below, offers options to control how files are loaded.To access the Load ta

Seite 385

and the number of lines in the file are counted. The line number is always displayed in the line indicatorarea of the editor. The Load entire file che

Seite 386 - Menu Editor Dialog

• File locking - When selected, this option ensures that a file handle is kept open to the file for lockingpurposes. This detects when another user is

Seite 387

The following options are available:• Append EOF character - When this option is set, an EOF character is appended to the end of DOSfiles when the buf

Seite 388 - Auto Enable Properties Dialog

value of the Add to project option on the Save As dialog. Check this option on the Save tab to havethe Add to project check box selected by default ea

Seite 389

The following options are available:• AutoSave activated - Activates AutoSave, which prevents you from losing data when an abnormal ed-itor exit occur

Seite 390 - Tools Dialogs

• To open a source file in the workspace, from the Navigator view, select the desired file. Right-click thefile, then select Open.• To open a file usi

Seite 391

different directory option has been selected. If the AutoSave directory is blank,<configuration_directory>\autosave is used. The configuration d

Seite 392 - 3-Way Merge Dialog

In the File filters text box, enter the filters you wish to assign. Separate each filter with a comma, andplace file patterns in parentheses. Separate

Seite 393

Note• The first time the Key Bindings dialog is invoked, the Building Tag File progress bar may bedisplayed while Slick-C® macro code is tagged.• Bind

Seite 394 - DIFFzilla® Dialog

• Search by key sequence - This filter is used for searching bindings in the Key Sequence column. Itcaptures literal keyboard input. For example, when

Seite 395 - Diff Types

• Run - This button runs the selected command or user-recorded macro.• Remove - This button clears the binding for the selected command/macro. You can

Seite 396 - DIFFzilla® Options Tab

mode (see below).• Cancel - Click this button to cancel the binding operation and close the dialog.• Advanced - Click this button to expand the langua

Seite 397 - Dialog Setup Options

Redefinable KeysThe redefinable keys and their available commands are described below.• Backspace - The following commands are available for binding t

Seite 398 - ® Dialog

switch to the opposite setting, depending on whether it is bound to Split Insert Line or NosplitInsert Line.• Home - The following commands are availa

Seite 399 - Multi-File Diff Output Dialog

causes the rest of the line to be moved to the previous tab stop. If you are using a mode that has a syn-tax indent for each level that is different f

Seite 400 - ® - Tag Files Dialog

• Tag file on save - When this option is selected, files are retagged when you save a modified file.• Background tagging of open files - When this opt

Seite 401 - ® - Tag Files dialog:

• Switch to C/C++ Editor – Changes to the CDT editor. Visible only for C/C++ files.• Switch to Ant Editor – Changes to the Eclipse Ant build.xml edito

Seite 402 - Options Dialogs

support for symbol cross-references.• Find references incrementally (faster) - When unselected, all files with potential references aresearched and an

Seite 403

• Minimum - 8 MB• Default - 64 MB• Ideal - Sum of tag file sizes• Maximum - 25% of physical system memory• C Preprocessing button - Displays the C/C++

Seite 404

General settings on this dialog box are described below (see Color Coding Setup Options - General Dia-log Settings). Other options are categorized int

Seite 405 - Search Tab

• Tags TabColor Coding Setup Options - General Dialog SettingsThe following fields and buttons are available on the Color Coding Setup dialog:• Lexer

Seite 406

The following options are available:• Token type - Select from the following token types:• Keywords - When this option is selected, the list box displ

Seite 407

• Punctuation, Lib Symbols, Operators, User Defined - When one of these options is selected, thelist boxes to the right display the words associated w

Seite 408 - Selections Tab

The following options are available:• Hex numbers• 0x#### (C-Style) - When this option is selected, text such as 0x123ABC is color-coded in numbercolo

Seite 409

• &H#### (Basic) - When this option is selected, text such as &H123ABC is color-coded in numbercolor.• "####"X (Rexx) - When this op

Seite 410 - Special Characters Tab

The following options are available:• Double quoted strings• Two consecutive quotes represent one - """" for REXX represents a str

Seite 411

• Trailing backslash continues string across lines - When this option is selected, it indicates thatsearching for the terminating quote continues to t

Seite 412 - More Tab

ViewsViews are windows that show various types of information that you can move around and dock within Ec-lipse. See SlickEdit Views for information.S

Seite 413 - General Options Dialog

The following options are available:• Language specific - To avoid requiring complicated BNF for defining color-coding, some hardwarelanguage-specific

Seite 414

• Here Document (UNIX Shells/Perl) - Activates support for HERE documents. Note that if you prefixyour terminator with one of our lexer names, you wil

Seite 415

The following options are available:• New Line comment - Click this button to define new single-line comments.• New Multi-line comment - Click this bu

Seite 416 - Exit Tab

• Nesting allowed - When this option is selected, this multi-line comment may have this multi-linecomment inside it.• Only if first non-blank characte

Seite 417

The following fields and settings are available:• Tag names - List box containing tags for HTML or XML. To add or delete tags, use the New and De-lete

Seite 418 - Virtual Memory Tab

Color Settings DialogThe Color Settings dialog contains options for changing embedded language colors and the colors ofscreen elements. See Colors for

Seite 419

• Attribute (HTML only) - This is the color used for a recognized attribute of an HTML tag. For ex-ample, the src attribute of the img tag gets this c

Seite 420 - Extension Options Dialog

See Fonts for more information about changing fonts and a list of recommended fonts. To display theFont Configuration dialog, from the main menu click

Seite 421

• Status Line - For status messages displayed at the bottom of the application window.• SBCS/DBCS Source Windows - Editor windows that are displaying

Seite 422

General in the tree, then double-click the XML/HTML Formatting setting. Alternatively, use thexml_html_options command to display the dialog.Figure 10

Seite 423

vironment. By the same token, some SlickEdit commands may not be available.See Chapter 10, SlickEdit Core Dialogs for descriptions of each dialog spec

Seite 424 - Word Wrap Tab

Proxy Settings DialogIf you need to configure proxy settings for when SlickEdit® Core needs to use an Internet connection, usethe Proxy Settings dialo

Seite 425

• Servers - Indicates the proxy address and port to use.• Exceptions - Indicates the Web site addresses that the proxy server should disregard. Separa

Seite 426 - General Tab

needs to launch one. To access this dialog, click Window → Preferences, expand SlickEdit and clickGeneral in the tree, then double-click the Web Brows

Seite 427

boxes on this dialog box to have the HTML file name inserted into the command that is executed.• DDE - The Application, Topic, and Item text boxes spe

Seite 428

• Anonymous e-mail address - Default password used for anonymous logins.• Do not upload - When on, saving an FTP file will not upload the file.• Promp

Seite 429 - Comment Block

• Timeout (sec) - Default used when adding a new connection profile. Specifies the wait time for a replyfrom the FTP server.• Port - Default used when

Seite 430 - Comment Line

• Enable firewall/proxy - When on, indicates you have a firewall or proxy. You need to turn this on toadd a connection profile that uses a firewall.•

Seite 431 - Doc Comments

SSH/SFTP TabThis tab on the FTP Options Dialog is used to set the location of the client program used to establish con-nections with the SSH server.Fi

Seite 432 - Comment Editing

Reflow Comment DialogThe Reflow Comment dialog (Format → Reflow Comment), shown below, is used to reflow block com-ments, paragraphs, or a selection o

Seite 433 - Comment Wrap Tab

The following options are available:• Entire block comment - If selected, reflows an entire block comment based on the current width andborder setting

Seite 434

SlickEdit ViewsViews complement the file opened in the editor. You can move, resize, and customize views easily. Allthe views and perspectives have li

Seite 435

The Current Document Options dialog allows you to enable/disable aspects of XML or HTML Formattingfor just the current document. It can be displayed b

Seite 436

Chapter 11. Appendix469

Seite 437 - Auto-Complete Tab

EncodingEncodings are used to convert a file to either SBCS/DBCS for the active code page or Unicode (morespecifically UTF-8) data. By default, XML an

Seite 438

for the following list of features:• All Context Tagging® features.• Color Coding.• Level 1 regular expressions as defined by the Unicode consortium.•

Seite 439 - Context Tagging® Tab

sion-specific or global encoding. Since there is no option for recognizing UTF-8 or UTF-32 files (otherthan Auto XML) by looking at the file contents,

Seite 440 - List Members

The following is a list of Unicode limitations:• Bold and italics color-coding is not supported. Support for this will be added in a future version.•

Seite 441 - Parameter Information

Unicode ImplementationNative Unicode and SBCS/DBCS editing modes are supported. When you edit a SBCS/DBCS (activecode page) file such as a .c, .h, or

Seite 442 - Select a Tag Dialog

Environment VariablesBelow is a list of environment variables that can be used. Configuration environment variables are set invslick.ini.You can also

Seite 443 - File Options Dialog

Environment Variable DescriptionVSLICKPATH must also contain the directories lis-ted here.VSLICKBITMAPS One or more directories separated with a semic

Seite 444 - Load Tab

Environment Variable DescriptionVST Specifies additional command line arguments to themacro compiler as if you typed them in when invok-ing the compil

Seite 446 - Save Tab

Lists breakpoints (and exception breakpoints for Java) and allows you to modify them. You must use thisview to set breakpoint properties. It can be us

Seite 447

of configuration environment variables, see the table above. The syntax of the set command is:set [envvar_name [=value]]When you invoke the set comman

Seite 448 - AutoSave Tab

Configuration VariablesSlickEdit® Core has many behaviors that are controlled through properties not exposed in the options dia-logs. They are set thr

Seite 449

Configuration Variable Descriptionthe Brief emulation. When the editflst.e macrois loaded, the space-delimited extensions listed bythis variable are f

Seite 450 - File Filters Tab

Configuration Variable Descriptiondef_filelist_show_dotfiles Controls the global Show hidden files option onthe General Tab of the General Options dia

Seite 451 - Key Bindings Dialog

Configuration Variable Descriptiondef_plusminus_blocks When the value is set to 1, the plusminus com-mand will try to find code blocks to expand or co

Seite 452 - ® macro code is tagged

Configuration Variable Descriptionthat decrease performance when using ClearCaseversion control.def_vtg_tornado Set this variable value to 0 to preven

Seite 453 - ® Core commands and user

Directories and FilesConfiguration DirectoryYour SlickEdit® Core configuration directory contains configuration files representing the changes youhave

Seite 454 - Bind Key Dialog

Use the New Directory fields to modify either of these values, and click Apply, and then OK to changethe settings. Note that these changes will not be

Seite 455 - Redefine Common Keys Dialog

User Config File Description*.als A text file that contains user-defined extension-specif-ic aliases.alias.slk A text file that contains user-defined

Seite 456 - Redefinable Keys

User Config File Descriptionmaps, and binary files are stored here as well.vslick.sta (UNIX: vslick.stu) A binary file that contains dialog boxes, men

Seite 457 - More Options

Provides the capability to interactively create and test regular expressions. See The Regex Evaluator formore details.SlickEdit SearchDisplays the res

Seite 458 - ® Options Dialog

System Config File Descriptionformat.ini A text file that contains default beautifier schemes.print.ini A text file that contains default printing sch

Seite 459 - ® Options Dia

File Search OrderSearch Order for Configuration FilesSeveral files are automatically searched for, either immediately when the editor is invoked or du

Seite 460 - ® performance and accuracy by

VLX File and Color CodingFor more basic information about using Color Coding, see Color Coding.To modify the color coding for VLX files, use one of th

Seite 461 - Color Coding Setup Dialog

• VHDL• Visual Basic .NETModifying the VLX File to Change a Color DefinitionTo modify an existing language-specific coloring definition, complete the

Seite 462

Statement Descriptioncase-sensitive= [Y | N] Defines the case sensitivity for the language. Thisstatement must be the first or second statementwithin

Seite 463 - Tokens Tab

Statement Descriptionthe line is a comment before determining the colorcoding of symbols in the line. When the checkfirstoption is specified, start_sy

Seite 464

Statement Descriptionkeywords= [keyword ] [keyword ] ... Defines words that should be displayed in keywordcolor. Keywords do not have to be valid iden

Seite 465 - Numbers Tab

Value of style Descriptiondqbackslashml Color double-quoted strings. If a double-quotedstring ends in a backslash, it continues the string tothe next

Seite 466

Value of style DescriptionIntel Assembler).octo Octal numbers are of the form ddddO (like Intel As-sembler).octq Octal numbers are of the form ddddQ (

Seite 467 - Strings Tab

Value of style Descriptiontcl Special support for TCL language color-coding.bquote Perl- and Linux Shell-style backquote (subshell).model204 Special s

Seite 468

The SlickEdit® Core Command LineSlickEdit Core provides its own command line as a means to execute most SlickEdit Core operations soyou can work witho

Seite 469 - Language Tab

Editing the Key Binding SourceIf you are creating a new emulation or if you change many key bindings, you might want to edit your keybinding source in

Seite 470

Menu EditingFor information about accessing SlickEdit® Core menus and associated options, see Menus.Creating and Editing MenusSlickEdit® Core menus ar

Seite 471

Editing MenusTo select a menu for editing, from the main menu click Macro → Menus (or use the open_menu com-mand). Select the menu to edit from the li

Seite 472

Using the ISPF and XEDIT EmulationsThis section describes the features of the ISPF editor emulation and outlines some XEDIT line com-mands.ISPF Option

Seite 473

Only the following line commands are allowed in read-only mode:• ISPF Line Labels - Define a label.• ISPF Line Command BNDS - Insert a column boundary

Seite 474

ISPF Primary CommandsThe following table of standard ISPF primary commands are supported in the ISPF emulation mode.Primary commands are entered by pl

Seite 475 - Color Settings Dialog

Command Descriptionispf_copy Insert the contents of a file or PDS member into thebuffer.ispf_create Create a new file or PDS member containing thecont

Seite 476 - Font Configuration Dialog

Command Descriptionispf_rchange Repeat the change requested by the most recentchange command.ispf_renumber Immediately update the line numbers in a fi

Seite 477

Right Control key, depending on your preferences. Several commands or line labels can be entered andthen processed at one time. The ispf_reset command

Seite 478 - XML/HTML Formatting Dialog

Command DescriptionISPF Line Command Show Expose one or more lines having the left-most in-dentation level in a block of excluded lines.ISPF Line Comm

Seite 479 - URL Mappings Dialog

Command Line HistoryThe command line maintains a command history, allowing you to quickly reuse previously entered com-mands. Once the command line is

Seite 480 - Proxy Settings Dialog

ISPF Shift Lines Left or RightUsage• ( [n] - Shift the current line n columns left, default 2• (( [n] - Shift the block of lines n columns left, defau

Seite 481 - Web Browser Setup Dialog

ISPF Insert Before BUsageB [n]RemarksIdentifies a line before which copied or moved lines are to be inserted n times. You are allowed to specifymultip

Seite 482

ISPF Line Command A, ISPF Line Command B, ISPF Line Command Move, ISPF Line CommandOverlayISPF Insert Columns Ruler COLS or SCALEUsageCOLSSCALERemarks

Seite 483 - FTP Options Dialog

mand ExcludeISPF Insert LinesUsageI [n]RemarksInsert one or more blank data entry lines.See Alsoispf_enter, ISPF Line Command TEISPF Lowercase Lines L

Seite 484

mand ExcludeISPF Move Lines M and MM for blocksUsage• M [n] - Move n lines starting with the line with the command.• MM - Move a block of lines, must

Seite 485 - Firewall/Proxy Tab

lines are to be converted. The second (block) form (MDMD or MDD) is placed on the first and last lines ofthe block to be converted.See AlsoISPF Line C

Seite 486

Usage• S [n] - Unexclude (expose) the first n lines of an excluded block.• SS - Unexclude (expose) an entire excluded block.RemarksExpose one or more

Seite 487 - Debug Tab

TFRemarksReflows paragraphs according to the current column boundary settings.See Alsoreflow_paragraphISPF Join Lines TJUsageTJRemarksJoin this line w

Seite 488 - Reflow Comment Dialog

UC [n], specifies that the line and the subsequent n-1 lines are to be converted. The second (block) form(UCUC or UCC) is placed on the first and last

Seite 489

XEDIT ISPF Description/ R Repeat the marked line.F A Paste text following line.A I Add (insert) line(s).P B Paste text before line.L LC Make line lowe

Seite 490

You can use the SlickEdit® Core command line to determine what keys are associated with what com-mands, and vice-versa.TipAlternatively, you can use t

Seite 491 - Chapter 11. Appendix

Command Descriptionimacro Save the name of an initial macro in the edit profile.level Set the modification level number in PDF librarystatistics.model

Seite 492 - Encoding

Command Descriptionispf_home Place the focus on the command line in ISPF emu-lation.ispf_retrieve Does command line retrieval, getting the next com-ma

Seite 493 - Unicode File Recognition

Regular Expression SyntaxThis section provides lists of the UNIX, SlickEdit®, and Brief regular expression syntaxes, samples, andUnicode category spec

Seite 494 - Unicode Limitations

UNIX Regular Expression DefinitionX{n1,}? Minimal match of at least n1 occurrences of X.X{,n2}? Minimal match of at least zero occurrences but notmore

Seite 495 - ® database will

UNIX Regular Expression Definition[^char-set] Matches any character not specified by char-set.A dash (-) character may be used to specify ranges.[char

Seite 496 - Unicode Implementation

UNIX Regular Expression Definitionthe Unicode Greek block. This is equivalent to[^\p{isGreek}]. See Unicode Character Blocks forRegular Expressions.\x

Seite 497 - Environment Variables

UNIX Regular Expression Definition\ol Turns off multi-line matching (default). You can stilluse \n to create regular expressions which matchone or mor

Seite 498

• +, *, ?, {}, +?, *?, ??, {}? (These operators have the same precedence.)• concatenation• |UNIX Regular Expression ExamplesThe table below shows exam

Seite 499 - Using the set Command

Sample UNIX Expression Descriptionters in the Greek block.\x{6587} Matches Unicode character with hexadecimal value6587. Character set intersection. M

Seite 500

SlickEdit Regular Expression Definitionavoid ambiguous expressions. For example a:9()1searches for nine instance of the letter a followedby a 1.X:n1,

Seite 501 - Configuration Variables

Many commands that display dialog boxes have equivalent commands that prompt for arguments on thecommand line or on the Eclipse message area. For fast

Seite 502

SlickEdit Regular Expression Definitioncept uppercase letters.[^char-set] Same as [~char-set] above.[char-set1 - [char-set2]] Character set subtractio

Seite 503

SlickEdit Regular Expression DefinitionRegular Expressions.\xhh Matches hexadecimal character hh where0<=hh<=0xff.\ddd Matches decimal character

Seite 504 - ® is 4 MB. The

SlickEdit Regular Expression Definition\ol Turns off multi-line matching (default). You can stilluse \n to create regular expressions which matchone o

Seite 505

• +, #, *, @, :, :* (These operators have the same precedence.)• concatenation• |SlickEdit® Regular Expression ExamplesThe table below shows examples

Seite 506 - Directories and Files

Brief regular expressions are defined in the following table.Table 11.16. Brief Regular ExpressionsBrief Regular Expression Definition% Matches beginn

Seite 507

Brief Regular Expression DefinitionX\:,n2? Minimal match of at least zero occurrences but notmore than n2 occurrences of X.X\:n1,n2? Minimal match of

Seite 508 - ® of C++ and C code

Brief Regular Expression Definitionall Unicode lowercase letters except q and w.[char-set1 & [char-set2]] Character set intersection. Matches all

Seite 509 - System Configuration Files

Brief Regular Expression Definition\d Defines a back reference to tagged expressionnumber d. For example, {abc}def\0 matches thestring abcdefabc. If t

Seite 510 - ® of C++ and C

Brief Regular Expression Definitionchar. The predefined expressions are:• \:a [A-Za-z0-9 - Matches an alphanumeric char-acter.• \:b\([ \t]#\) - Matche

Seite 511 - File Search Order

Sample Brief Regular Expression Descriptiontice that the backslash must prefix the special char-acter *.[\t ] Matches tab and space characters.[\d9\d3

Seite 512 - VLX File and Color Coding

Command Descriptionf symbol Find a symbol/search_string/options Search for a stringc/search/replace/options Replace a stringsb name Set a bookmarkgb n

Seite 513

The following table lists the valid subcategories for a specific main category. These character tables weregenerated using the file UnicodeData-3.1.0.

Seite 514

Subcategory DescriptionSc Symbol, CurrencySk Symbol, ModifierSo Symbol, OtherZs Separator, SpaceZl Separator, LineZp Separator, ParagraphCc Other, Con

Seite 515

• XMLNameChar - All characters that are valid in an XML tag name.The following table lists the valid character block names. These character tables wer

Seite 516 - Table of style Values

Range Block Name0B80..0BFF Tamil0C00..0C7F Telugu0C80..0CFF Kannada0D00..0D7F Malayalam0D80..0DFF Sinhala0E00..0E7F Thai0E80..0EFF Lao0F00..0FFF Tibet

Seite 517

Range Block Name20A0..20CF CurrencySymbols20D0..20FF CombiningMarksforSymbols2100..214F LetterlikeSymbols2150..218F NumberForms2190..21FF Arrows2200..

Seite 518

Range Block Name3100..312F Bopomofo3130..318F HangulCompatibilityJamo3190..319F Kanbun31A0..31BF BopomofoExtended3200..32FF EnclosedCJKLettersandMonth

Seite 519

Range Block NameFEFF..FEFF SpecialsFF00..FFEF HalfwidthandFullwidthFormsFFF0..FFFD Specials10300..1032F OldItalic10330..1034F Gothic10400..1044F Deser

Seite 521 - Menu Editing

Code Quick | Think Slick®SlickEdit Inc.3000 Aerial Center Parkway, Suite 120Morrisville, NC 27560USA1.919.473.00701.800.934.EDIT1.919.473.0080 faxinf

Seite 522 - Enabling/Disabling Menu Items

Using the Mouse and KeyboardSlickEdit® Core provides four ways to launch operations: commands, menu items, key bindings, and but-tons. For example, to

Seite 523 - ISPF Options Dialog

Key or Key Sequence Operation? List matches to partially-typed parameterCtrl+Shift+O Expand aliasCtrl+E Cut to end of lineCtrl+Backspace Cut lineCtrl+

Seite 524

Key or Key Sequence OperationEnd Move cursor to end of lineHome Move cursor to beginning of lineDouble-click Select wordTriple-click Select lineRedefi

Seite 526

In the Key list box, select the name of the key that you want to configure. The commands available forthat key are then displayed in the Command list

Seite 527 - ISPF Line Commands

Chapter 4. User Preferences39

Seite 528

Introduction to User PreferencesSlickEdit® Core can be customized to accommodate your own individual preferences. Most user prefer-ence information is

Seite 529 - ISPF Line Labels .label

EmulationsEmulation is the process of imitating another program. SlickEdit® Core provides emulations of key bind-ings for 13 editors so that you can u

Seite 530 - ISPF Insert After A

provide a default key binding for a particular SlickEdit Core command, the corresponding Visual C++key binding is used.• XcodeChanging EmulationsAfter

Seite 531 - ISPF Insert Bounds Ruler BNDS

By saving your custom key bindings when you switch emulations, when you return to the original emula-tion those bindings are automatically available.

Seite 532

Key and Mouse BindingsKey and mouse bindings are quick ways to execute operations in SlickEdit® Core. Key bindings are themost efficient. Time is wast

Seite 533 - ISPF Insert Lines

• A menu hotkey is a key sequence that corresponds to an underlined letter on a menu name.Managing BindingsCreate and manage key bindings using the Ke

Seite 534 - ISPF Insert Mask Line MASK

Bindings are based on the editor emulation mode (CUA is the default). The title bar of the Key Bindingsdialog shows the current emulation. (To change

Seite 535 - ISPF Repeat Lines

Language Editing Modes for more information.The bottom of the dialog contains documentation (if available) for the selected command.Columns can be sor

Seite 536 - ISPF Insert Lines TF

Table of Contents1. Introduction ... 1

Seite 537 - ISPF Split Line TS

• Double-click on the row.3. When you initiate a binding, the Bind Key dialog is displayed with focus in the Key Sequence box.Figure 4.4. Bind Key Dia

Seite 538 - XEDIT Line Commands

specific language editing mode, you can change it now by clicking the Advanced button on the BindKey dialog. Click Bind to mode, then from the drop-do

Seite 539

2. If you want, change the directory location and change the file name to something more meaningful toyou, such as myname_cua.xml.3. Click Save.Import

Seite 540

bound to Ctrl+C, rather than the command bound to Ctrl+X,Ctrl+C.To change this option, click Window → Preferences, expand SlickEdit and click General

Seite 541

Cursor, Mouse, and Scroll SettingsThis section describes settings for the cursor, mouse, and scroll style. For cursor navigation information,see Curso

Seite 542 - Regular Expression Syntax

Setting Fonts and ColorsThe SlickEdit® Core editor and views do not use the Eclipse color and font settings. To change the fontsand colors in the Slic

Seite 543

For descriptions of the options on this dialog, see Font Configuration Dialog.Recommended Fonts for ElementsFont recommendations are given for the bes

Seite 544

font element:Table 4.1. Command Line Font RecommendationsPlatform Font RecommendationWindows Choose Courier, Courier New, OEM Fixed Font, orTerminal f

Seite 545

ent screen elements in SlickEdit® Core. This includes syntactic elements in the editor window, likekeywords, comments, strings, etc. as well as other

Seite 546

is displayed, allowing you to pick a color from the palette, or set your own custom color using RGB val-ues.NoteIf you have chosen the Selection scree

Seite 547

Using the Command Line to View Key Binding Associations ...31Starting a Program from the Command Line (Shelling)

Seite 548 - ® Regular Expressions

<BODY>...</BODY></HTML>HTMLEOFRestoring Settings on Startup58

Seite 549

Restoring Settings on StartupBy default, the files, current directory, and more from the previous edit session are automatically restoredwhen you swit

Seite 551

Chapter 5. Context Tagging®61

Seite 552

Context Tagging® OverviewContext Tagging is a feature set that performs expression type, scope, and inheritance analysis as well assymbol look-up with

Seite 553 - Brief Regular Expressions

4. Clear the Auto-list members check box.The following example shows the results of what is displayed after typing a Dot when entering Javasource. Not

Seite 554

select the next or previous occurrence.Figure 5.3. Parameter Info: Example 1The example below shows the result of pressing Alt+Comma inside the argume

Seite 555

The following example displays the results of pressing Alt+Comma after an assignment operator. TheRect, pRect, and argv are not listed because their t

Seite 556

• Find Symbol - This view is used to locate symbols (tags) in your code. It allows you to search for sym-bols by name using either a regular expressio

Seite 557

Building and Managing Tag FilesContext Tagging® creates tag files to store information about symbols and, optionally, cross-reference in-formation fro

Seite 558

Class View ...82Outline View ...

Seite 559

To create tag files for the languages listed, enter the base directory for your package (if it is not alreadyfilled in), as well as the destination of

Seite 560

Generate References creates an inverted file index so that you can quickly find which files con-tain which symbols. Workspace tag files create this in

Seite 561

See Managing Tag Files for more information.Tagging Run-Time LibrariesCreate extension-specific tag files for include files of compiler packages or ut

Seite 562

The left pane of the dialog lists all of your tag files, separated into categories (see Tag File Categories be-low). A tag file having a File bitmap w

Seite 563

• Other Extension-Specific Tag Categories - The tag files listed under each of the other language-spe-cific categories apply to that language only. Us

Seite 564

The following settings are available:• Retag modified files only - If checked, SlickEdit® Core will incrementally rebuild the tag file, only re-taggin

Seite 565

tions setting. See Context Tagging Options Dialog for descriptions of the options.TipTo improve tagging performance, you may need to adjust the Tag fi

Seite 566

Chapter 6. Editing Features75

Seite 567

NavigationThere are two types of navigation in SlickEdit® Core: Code Navigation, which provides in-depth symbolnavigation and structure matching, and

Seite 568

Tagging Tab. When the cursor is in the prototype, pressing Ctrl+Dot will navigate to the func-tion and vice versa. If you do not set one of these opti

Kommentare zu diesen Handbüchern

Keine Kommentare