Fixed problem with std:: namespaces and completions.
这个我没有试过,不过看样子是解决了之前string类自动完成的问题了吧。
Made the color for modified items in the debugger configurable. Previous it reused a color assigned to something else.
这个解决了SE自带的GDB前端一个很恶心的问题,就是单步时修改了的变量居然用的是Modified Line颜色来显示。恼了大伙很久以后,这回终于决定改了~~在Color中出现了专门的牌位:
For v14.0.2.2的宏已经上传到我的盒子里,请各位用代码比较工具merge自己所需的修订。盒子已被坝但我实在是懒得再挪窝了,请想下载的各显神通自己翻墙吧~~
如果在选项里面把“Build workspace tag file with references”设置为true,那么它就会将“def_references_options”变量的VSREF_NO_WORKSPACE_REFS位置位。这个宏看名字就知道了,是告诉Context Tagging别给这个tagfile生成reference的,意义正好相反。
至于怎么解决,我也不是很清楚。因为SE 2008彻底换了一种配置机制,估计也就是因为这样才马大哈地引入了这种低级问题。实际上如果你只讲究结果的话,只要知道“Build workspace tag file with references”设置成false才会默认生成references就成了。如果你实在是个像我这样的完美主义者……一个最简单猥琐的办法就是修改options.xml,把“Build workspace tag file with references”相关标题和描述里面的“with”改成“without”(# ̄▽ ̄#)。
另外得到一个关于SourceInsight的小道消息:“I did however get a reply back from Source Dynamics recently when asking what was going on over there and "Ray Gram (the owner)" replied that they were busy trying to get version 4.0 out the door. So it sounds like it may not be dead yet.”
Language-specific View options have been added to the Options dialog (Special Characters, line numbers, Hex, etc.). These match the view settings that formerly could only be set per-document (View menu items). To get to the language-specific options, from the main menu, click Tools > Options > Languages > [LanguageCategory] > [Language] > View. Additionally, a new language-specific View option has been added for setting the line number area width. You can set this a fixed with (the default is 6), or, you can use "Automatic" mode, which will adjust the amount of space in the prefix area based on what line in the file you are in. So if you're on line 4764, you'll have room for 4 digits. You can set a minimum width for this feature, so if you want to keep the margin from bouncing around, you can set a minimum and have it not go lower than that. The View > Line Numbers menu item has also been updated. When you turn on line numbers via this switch, SlickEdit checks for and uses your language settings. If you either have no language settings or your language settings are set to no line numbers, SlickEdit uses the default - fixed width line numbers.
HTML Clipboard formats have been enhanced for background colors and color schemes with non-white backgrounds for pasting into documents with white backgrounds.
The New Window Size dialog formerly accessed through the menu item Window > New Window Size, is no longer available and the options have been moved to the Options dialog (Tools > Options > Editing > Editor Windows).
Building/Compiling/Running/Debugging
SlickEdit version 13.0.1 uses GDB 6.8. You can get the tarball from our Web site here: http://www.slickedit.com/gdb. A patch file is also available on the site that contains a performance optimization we have added to GDB that you can optionally use if you are attempting to build GDB 6.8 for yourself identical to the one we have built. The optimization has been submitted to GDB.
In addition to Apache Ant, SlickEdit now supports NAnt, a .NET build tool similar to Ant. See "NAnt" in the Help > Index for more information.
Added "-doNotCreateObjectDir" option to vsbuild.
The Configure Error Parsing dialog, accessed from the menu item Build > Configure Error Parsing, is still available but the same fields and options are now also located on the Options dialog (Tools > Options > Tools > Configure Error Parsing).
The C/C++ and Java Compiler Properties dialogs, accessed from Project > Project Properties > Compile tab > Ellipses button, are both still available but the same fields and options are now also located on the Options dialog (Tools > Options > Languages > [LanguageCategory] > [Language] > Compiler Properties).
The make program used on Execute Makefile Target is now customizable, so that users with custom make utilities can use standard makefiles. Formerly it was hardcoded to be "make". The fix was to add def_default_make_program and also refactor out the function build_make_command.
Debugger options have been moved to the Options dialog (Tools > Options > Debugger). Formerly, a tabbed dialog was displayed when you use the menu item Debug > Debugger Options or the debug_props command. Now, this menu item/command displays the information about your debugger and provides a button to access the options, which can also be accessed through a new command, debugger_options. A Debugger Info menu item has also been added, right after Detach, since it is associated with a running debugger. This menu item is disabled when the debugger is not running.
The Debugger Options dialog is now resizeable.
Context Tagging
An option has been added to control the max number of references found in a references search.
Some optimizations have been added to debug_get_mouse_expr() to cache previous result. This will increase performance when the option Show info for symbol under mouse enabled. Note that searching through huge workspaces still takes time, but it is faster than before.
Support has been added for managed C++ ^ (^ is equivalent to __gc*).
Tagging now supports new managed C++ keywords: ref class Name { ... }, value class Name { ... } and interface class Name { ... }.
Tagging now recognizes files that start with "process" as COBOL.
The Select a Tag dialog has been renamed to Select Symbol, and the size is now remembered.
Adding or removing files from the workspace tag file is no longer allowed.
Support has been enhanced for Visual Basic for Applications.
An option has been added to make codehelp_complete (Ctrl+Space) case-sensitive (see Tools > Options > Languages > [LanguageCategory] > [Language] > Context Tagging).
The Current Context tool window now shows the function even if the cursor is in a preceding comment.
A new configuration variable is available to sort the Current Context tool window by line number instead of strictly by tag names.
Context Tagging now supports List Members for C99-style designated initializers, provided you do not mix them with positional initializers.
The Class browser find (cb_find) now screens out definitions, and now when you are prompted for duplicate symbols, you are prompted using the standard "Select Symbol" dialog instead of sellist. Also, if there are no matches, it will just give you a message box saying the declaration was not found; it will not take you to the old Find Tag (_pushtagbookmark_form) dialog.
SlickEdit can now parse "implements" clause in PHP.
Documentation
Many sections in the documentation have been expanded and improved. Notably, the "Working With Files" section has been improved and includes a new section about the working directory (see Help > Index keyword: "files"), more information has been added and terminology defined in the "Programmable Macros" section (see Help > Index keyword "programmable macros"), the language-specific documentation for Java has been improved and expanded, and the Slick-C Macro Programming Guide has been enhanced to cover recent code enhancements and changes.
Editing
Language support has been added for Windows PowerShell, found under Tools > Options > Languages > Scripting Languages. Support includes Color Coding, Syntax Indent, Syntax Expansion, and Context Tagging for functions, filters, and aliases.
Language support has been added for SystemVerilog (an extension of Verilog) and Vera. Support includes Color Coding, Syntax Indent, and Syntax Expansion (note that support for projects and Context Tagging have not yet been implemented). To set options for these languages, go to Tools > Options > Languages > Hardware Description Languages.
The option Automatically close visited files formerly located at Tools > Options > Appearance > General has been moved to Tools > Options > Editing > Search > Bookmarks.
You can now create a new lexer when adding a new language (Tools > Options > Languages > Language Manager).
The commands goto_bookmark/gb and delete_bookmark now support command line completion.
Support for the vimtutor command in Vim emulation has been added. This command opens a tutorial file that you can edit as you learn Vim commands.
A Search option has been added to the Option dialog to push a bookmark when using top_of_buffer/bottom_of_buffer (Tools > Options > Editing > Search). Formerly only the def_top_bottom_push_bookmark configuration variable was available to set this option.
Project support has been enhanced and results of GetProjectFiles() cached for better performance.
Syntax Expansion has been enhanced to be more tagging-aware.
A new item has been added to the editor's right-click context menu: Show file in Projects. This shows the current file in the Projects tool window. If the file is in a collapsed node, the node is expanded to show the file. If the file occurs in multiple projects, you are prompted to select which one(s) to expand. A check box in the prompt allows you to just expand all relevant projects.
A new configuration variable is available: def_max_mffind_output def-var. This sets the maximum size for search results before switching to listing matching files only.
A new Search option is available on the Options dialog (Tools > Options > Editing > Search): Maximum search results output (KB). Use this option to specify the maximum amount of search results, in kilobytes, to return after a search operation.
New escape sequences have been added for Aliases: %\un (line not included if function params are expanded; included if function params are not expanded), %\vn (line not included if return types are expanded; included if return types are not expanded), and %(), used to separate identifier characters: for example, %\u%()n has the effect of the %\u option followed by a literal "n". It is recommended that %() be used to separate alias escape sequences ending with a letter from other identifier characters so that new aliases escape sequences won't break existing aliases you have. Don't write %\dx. Write %\d%()x instead.
Annotation dates are now entered and changed using a calendar dialog. The displayed date is no longer hand-editable.
The .i extension is now associated with C/C++.
The Auto-Complete options Auto select unique items and Insert selected are now mutually exclusive.
Enhanced removeDuplicateFunctions to support more style signatures.
The Alias escape sequence %\o now returns full signature.
The %\n and %\o escape sequences now work inside doc comment alias expansions.
Files
File tabs have been enhanced so that, when adjacent files differ only by file extension, the name of the file on the tab is abbreviated to only show the extension. This saves space and provides better visibility for associated files. For file names to be abbreviated in this style, their paths and base file name must match exactly. For example, C:\rectangles\BorderRectangle.cpp would not abbreviate with C:\src\include\BorderRectangle.h. You can turn this feature on and off for all file tabs by right-clicking in the File Tabs tool window and selecting Abbreviate similar files from the context menu.
A close_others command has been added and available on the right-click context menu of file tabs. This closes all other files except the one you've clicked on.
Some file tabs, like those for search results buffers, build output, and File Manager operations, display a picture in their file tabs by default. An option has been added to the right-click context menu of file tabs to show or hide these pictures.
Backup History options (Tools > Options > File Options > Backup) have changed: 1) The option Make backup files now has three available settings: Select Create backup history on save to use Backup History. This creates a version of the file each time you save, allowing you to compare and restore to earlier versions. Select Create backup file on first save to create a single backup file that preserves the file contents prior to editing. Or select None for no backup history. 2) The option formerly named Backup directory option has been renamed as Backup location. This specifies where the backup files will be created. This option is not available when using Create backup history on save. If you select Global directory or Global nested directories you will need to provide a value for Backup directory path. 3) The option Backup directory path is used to specify the full path to the location used for creating backup files. This is used only when the value for Backup location is Global directory or Global nested directories or when the value for Make backup files is set to Create backup history on save. Press Delete to clear the value and use the default.
The Save configuration option (Tools > Options > Application Options > Exit) now has an additional choice: Save configuration immediately. When this value is set, configuration changes are immediately saved when they are detected.
Keyboard
New key bindings have been added for Emacs-like S-expression navigation that work in all emulations: next_sexp (Ctrl+Alt+Right) and prev_sexp (Ctrl+Alt+Left) can be compared to next_word and prev_word, except that they treat blocks as words. backward_up_sexp (Ctrl+Alt+Up) is the shortcut for navigating to the start of the immediately enclosing block (in Lisp, this would be the open paren). forward_down_sexp (Ctrl+Alt+Down) is used to drill into a block. If the cursor is at the start of a block, it moves the cursor to the first S-expression within the block; otherwise, it behaves like next_sexp. select_prev_sexp (Ctrl+Alt+Shift+Left) and select_next_sexp (Ctrl+Alt+Shift+Right) extend a character selection from the cursor position to the start of the next or previous S-expression, respectively. Like the Shift+Cursor commands do to CUA style selections, if executed repeatedly, they will extend the current character selection. cut_prev_sexp (Ctrl+Alt+Backspace) will delete the S-expression to the left of the cursor and copy it to the clipboard. Again, if called repeatedly, this will prepend the subsequent deletions to the clipboard.
Miscellaneous
You can now generate GUIDs in SlickEdit. A menu item has been added to the Tools menu: Tools > GUID Generator (gui_insert_guid command) or you can use a command line version of the tool with the insert_guid command. Select from seven formats to generate the new GUID and optionally insert it at the cursor location.
Options Dialog Changes
All of the Advanced language-specific options have been moved to the General language-specific option node (Tools > Options > Languages > [LanguageCategory] > [Language] > General).
An Expand All Children option has been added to the right-click context menu of the Options dialog tree. This only acts on the current node.
Many keyboard navigation shortcuts have been added to the Options dialog, and the documentation has been updated (see Help > Index keyword "Options dialog shortcuts"). Also, Tab now works better for keyboard navigation.
A new category, Hardware Description Languages, has been created under the Languages node of the Options dialog. This category now contains Verilog and VHDL (moved from the Application Languages category) as well as the newly supported SystemVerilog and Vera.
Slick-C
New class introspection functions have been added to Slick-C (_typename, _instanceof, etc.) See "Classes > Introspection" in the "Types" chapter of the Slick-C Macro Programming Guide (Help > Contents) for more information.
Many #pragma options (such as strictnames) have been added in Slick-C. See "#pragma" in the "Preprocessing" chapter of the Slick-C Macro Programming Guide (Help > Contents) for more information.
An _insertel() method for arrays and corresponding C API functions vsHvarArrayInsertEl() and vsHvarHashtabInsertEl() have been added to Slick-C.
Added support for #! in Slick-C code - Slick-C does not have to do anything with #!, but it now allows you to have a #! at the top of the file without having an error.
The following keywords are not used in Slick-C and have been removed: by, end, endif, extproc, fkeytext, include, then, to. Note that end is still an event name.