[Promotion-technology] Fwd: EdSharp 2.0 released

David Andrews dandrews at visi.com
Sat Aug 25 15:14:57 CDT 2007


>
>http://www.EmpowermentZone.com/edsetup.exe
>
>Version 2.0
>Released August 25, 2007
>
>Major programming and word processing enhancements have raised the version
>from 1.2 to 2.0.  EdSharp is now a text editor, file converter, coding
>environment, and mini word processor!  Fixes and improvements are
>documented below.
>
>Jamal
>
>Fixed the Jump command not recognizing a column as well as line number.
>Fixed regular expression dialogs requiring a double rather than single
>backslash to begin a special token.  Fixed the Yield with Regular
>Expression command (Control+Shift+Y) not remembering the previous
>expression used.  Fixed Exporting from HTML to Markdown.
>
>Extra speech messages may now be toggled off -- or reactivated -- with
>Control+Shift+X.  When off, such messages are redirected to a text file
>called Speech.log, which may be examined in an editing window with
>Alt+Shift+X.  This file is initialized when EdSharp starts, and the Extra
>Speech setting is remembered from the previous session.
>
>Made Delete Right (Control+Shift+Delete) and Delete Line (Alt+Backspace)
>delete to the end of the visible line -- wrapping is respected.  The new
>Delete Hard Line command (Control+D) deletes through any wrapping until
>just past the next hard line break  (what is created by pressing Enter).
>The Delete Paragraph command (Control+Shift+D) deletes from the current
>line through the next one or more blank lines.
>
>Press Alt+F7 to look up definitions of a word from the dictionary.com web
>site.  EdSharp prompts for a word or phrase, defaulting to the current
>chunk or selected text.  The definitions retrieved are placed in a new
>editing window.
>
>When a file is saved without giving it an extension, .rtf is added as a
>configurable default.  If a file would be overwritten, the original may be
>optionally saved with .bak added (default is No).  Each option in the
>Configuration dialog (Alt+Shift+C) has a unique access key in its label,
>so you can jump directly to it with an Alt plus letter combination.  Some
>options are reserved but not yet implemented.
>
>Sections added to the EdSharp documentation discuss the new word
>processing and programming features as follows:
>
>Word Processing
>EdSharp supports several aspects of Rich Text Format (.rtf) as well as
>plain text (with optional structure).  In certain situations, EdSharp
>behaves differently if a file has a .rtf extension rather than any other
>one.  Specifically, the Open Other Format command, Control+Shift+O,
>imports a .rtf file with its formatting rather than converting it to plain
>text.  The Save, Save As, and Save Copy commands, Control+S,
>Control+Shift+S, and Alt+S, save a .rtf file with formatting preserved.
>Use the Copy Rich Text command, Control+Shift+C, to copy selected text
>with formatting to the clipboard.
>
>Formatting commands include the following.  Use the Justify command,
>Alt+Shift+J, to set the horizontal alignment of text as left, center, or
>right.  This formatting applies to either selected text or the current
>hard line -- a line of text terminated by a hard line break (created by
>pressing Enter rather than wrapping).
>
>Use the Style command, Alt+Slash, to set or clear bold, italic, or
>underline formatting.  This applies to either selected text or text ahead
>of the current cursor position.  Similarly, the Set Selection Font
>command, Alt+Shift+Dash, adjusts the font or color of selected text or
>text ahead of the cursor (think of a "dashing" display).  The key to its
>right, Alt+Shift+Equals, is for setting the default font of a new
>document.  The Justify, Style, and Font dialogs indicate current format
>settings.
>
>Navigation commands let you move forward or backward to a change in
>formatting.  Control+RightBracket goes to the next justification change,
>and Control+LeftBracket goes to the previous one.  Control+Slash goes to
>the next style change, and Control+Shift+Slash goes to the previous one.
>Control+Dash goes to the next font change and Control+Shift+Dash goes to
>the previous one.  The cursor stops at the character with different
>formatting.  The new formatting is announced and current line is read.
>
>To query the current font and color, press Alt+Dash.  For justification
>and styles, press Alt+Slash.
>
>Programming
>Press Tab to indent the current line of text, or Shift+Tab to outdent it.
>If multiple lines of text are selected, these commands are applied to all
>of them.  Press Alt+I to hear the number of indentation levels of the
>current line.  The Trim Blanks command, Control+Shift+Enter, removes all
>indentation and trailing spaces at once, as well as removing more than two
>consecutive blank lines (when multiple lines are selected).
>
>Press Alt+Shift+I to toggle a mode in which you are alerted to changes in
>indentation level, such as when using the up and down arrow keys.  EdSharp
>will say how many levels in or out the indentation has changed.  This mode
>also reverses the rols of the Enter and Shift+Enter keys.
>
>When Indent Mode is off, you can start a new line of text with the same
>indentation as the current one by pressing Shift+Enter.  By default, an
>indentation unit is two spaces.  This may be changed with the
>Configuration Options command, Alt+Shift+C (or use Alt+Shift+M to manually
>edit settings in the EdSharp.ini file).  To go to the first character of
>the current line after any indentation, press Alt+Home.  To go to the last
>non-white space character, press Alt+End.
>
>Press Control+I to go to the next code block, or Control+Shift+I to go to
>the previous one.  EdSharp considers a line of text with less indentation
>to be part of a different code block.  For example, if the cursor is
>inside a loop block, then Control+I will go to the line at the closing of
>the loop where a lower level of indentation resumes.  In Ruby, this would
>be the line with the word "end" or a right brace (}) character.  In
>Python, it would be the first line of code following the loop, since the
>change in indentation, itself, indicates the end of the loop.
>
>The Quote and Unquote commands, Control+Q and Control+Shift+Q, may be used
>to add or remove comment symbols at the start of lines.  The default quote
>prefix may be changed from > to a comment sequence appropriate for the
>language in use, e.g., ' for Visual Basic, * for Xbase, ; for AutoIt, or #
>for Ruby.
>
>Curly brace characters delimit code structures in a number of languages.
>Press Control+B to find the matching right brace (}) character from the
>current location.  Press Control+Shift+B for the matching left brace ({)
>instead.  Press Alt+B to hear the number of unmatched left braces before
>the cursor and right braces after.  Different brace characters may be
>configured, e.g., angle brackets (<>) for editing HTML or XML.  If the
>cursor is on a brace-type character when issuing one of these commands,
>i.e., one of {}<>[]() , then EdSharp uses that character and its opposite
>when searching, regardless of the current setting.
>
>A scripting language allows a program to be run as a text file associated
>by extension with its interpreter, e.g., .pl for Perl, .au3 for AutoIt,
>and .rbw for Ruby files.  Press F5 to run the current file with its
>associated interpreter.  If the current file name has a complete path,
>EdSharp saves to disk before running the file to ensure the latest version
>is being used.  Otherwise, EdSharp saves to a file in a temporary folder
>and runs that file.
>
>The Alt+F5 command prompts for a command to run and speaks its standard
>output.  The path of the current file may be passed via the syntax
>described for EdSharp's Import and Export capability.  The command
>remembers its previous value, and may be adjusted each time it is run.
>Use the Review Output command, Alt+Shift+F5, to open a new editing window
>containing the output produced by the last command.
>
>Use the Compile command, Control+F5, for a programming language that
>involves compiling source code to binary form.  For example, a C# program
>in a .cs file may be compiled to a .exe file.  This command may also be
>used for interpreters that report syntax errors via the standard output or
>standard error streams.
>
>These tool commands typically begin with the file name of the compiler or
>interpreter.  Any parameters may be specified thereafter.  If the token
>%SourceDir% is included, EdSharp temporarily changes to the directory
>containing the source file before running the tool.
>
>The first line and column position mentioned in the output, if any, is
>assumed to be the position of a compilation error in the source code.
>EdSharp uses the JumpPosition setting to find the position in the output
>based on a regular expression.  The regular expression should be defined
>so that the first number of a matching string is the line number and the
>second number, if any, is the column number.  EdSharp automatically jumps
>to that position.  It is also saved so that the Jump Again command, Alt+J,
>returns there.
>
>Another regular expression may be configured for navigating among routines
>in source code.  The NavigatePart setting is used by Alt+PageDown and
>Alt+PageUp to go to the next or previous function, method, or class
>definition.
>
>Thus, the Compile command, Control+F5, combines debugging steps
>efficiently by compiling, saying output without a model message box, and
>automatically jumping to the first error position, if found in the output.
>The output spoken may be abbreviated by means of a regular expression
>setting that specifies the pattern of text to remove.  The Pick Compiler
>command, Control+Shift+F5, lets you conveniently configure the
>CompileCommand , AbbreviateOutput, JumpPosition, NavigatePart, and
>QuotePrefix ssettings for a particular compiler or interpreter.  EdSharp
>offers settings for the following languages:  C#, HTML, Java, JAWS Script,
>Perl, PHP, PowerBASIC, PowerShell, Python, Ruby, and Visual Basic .NET.
>
>The name of a tool to be run should either include its directory location
>or be available on the Windows search path.  This may be adjusted by
>editing the Path environment variable in the Advanced tab page of the
>System applet in Control Panel.  If the tool is a long file name enclosed
>in quotes then either prefix the command line with the @ symbol or enclose
>the whole thing in quotes.  This is necessary to prevent .ini file
>manipulation functions of Windows from losing the opening quote before the
>tool.
>
>For HTML, the HTML Tidy utility is configured by default and distributed
>with EdSharp.  After eliminating coding errors found with Control+F5, use
>Alt+Shift+E to export to a target file containing clean HTML.  More
>information is available at
>http://tidy.sourceforge.net
>
>For PowerBASIC, a batch file is needed (in the EdSharp program folder),
>which refers to the default location of PowerBasic for Windows version
>8.0.  The path to the JAWS script compiler is also hard coded for the
>latest version.  JAWS scripting is additionally supported by EdSharp's own
>scripts:  Control+I is a hot key for inserting the path to the user script
>folder, and Control+Shift+I is for the All Users script folder, when focus
>is in the Open or Save Dialog of EdSharp.
>
>Compiler settings are stored in the [Compilers] section of the EdSharp.ini
>file.  Only current compiler settings appear in the configuration options
>dialog, Alt+Shift+C.  Other settings may be edited, however, using the
>Manual Options command, Alt+Shift+M.  You can adjust command line
>parameters of configured compilers, or add others.  Installing a new
>version of EdSharp does not change existing compiler settings.

David Andrews and white cane Harry.




More information about the Promotion-technology mailing list