- The SemWare Editor
Infobox Software
name = The Semware Editor (TSE)
logo =
http://www.semware.com/html/tseprowin.screenshots.php screenshot]
caption =
author =Sammy Mitchell
developer = The SemWare Corporation
released = May 2005
latest release version = 4.4
latest release date =
latest preview version =
latest preview date =
operating_system =Microsoft Windows ,Linux (beta)
platform =
genre =text editor
language =
license = commercial
website = http://www.semware.comThe SemWare Editor (TSE) is a very flexible
text editor with roots in theMSDOS andMS Windows environment.Starting in November
1985 as ashareware program called "Qedit" (butthere were other uses of that name), Qedit was eventually modified to run as aTSR , ported toOS/2 and eventually evolved (via rewrite) to TSE, a next generation advance over Qedit. TSE was eventually ported to Windows.As of 2004 a
Linux version is under development. as of Aug 4, 2007 No Linux version is available except a beta-version through request.TSE features a very capable macro language (SemWare ApplicationLanguage or SAL),
regular expression search and replace, keystroke recording and playback, full Undo/Redo, shortcut key assignment (both as configuration and on the fly) that allow extensive modification of the functionality of thetext editor, and other features expected in a modern text editor. TSE, like its predecessor Qedit, is very popular with programmers, but unlike many programmer's editors, has a devoted following of system administrators and other 'non-developer' types who value a powerful, fast and easy to use text editor.There are two online support discussion groups that include long time accomplished usersand the developer,
Sammy Mitchell of SemWare Corporation.SemWare Corporation is based in
Kennesaw (Georgia,USA ).Over the years, SemWare moved from
shareware to commercial offerings(evaluation version available for 60 days)Qedit
Qedit was a powerful DOS text editor noted for low memory consumption; blazing fast I/O and search; fast responsiveness; and a simple yet powerful text-based macro language. Qedit implemented its engine and much of its application functionality in native code, with a small percentage of functionality implemented via the macro language, unlike Brief, Epsilon and other popular programmer editors of the time which implemented a native engine or core, with the bulk of the program implemented via their
scripting languages .Some of Qedit's speed was due to memory-based editing - the editor and all buffers and workspace required physical memory. Later versions of Qedit added support for
expanded memory (EMS),extended memory (XMS) andvirtual memory , up to a maximum of 16MB.Qedit was originally written in Pascal using Borland's
Turbo Pascal compiler and later converted to C and compiled with Borland'sTurbo C compiler.QEdit for OS/2
Qedit was ported to
OS/2 .The SemWare Editor (TSE)
Qedit was rewritten and greatly expanded, ultimately released as The SemWare Editor (TSE) 1.0. The initial release kept true to the core tenets of Qedit - fast I/O, highly responsive, fast search, a simple text scripting language, and the fundamental design of a native core with functionality split between native code and script.
TSE advanced over Qedit in several ways, including a new, richer scripting language (SAL),
regular expression s, a native Win32 port, SAL access to Win32 DLL entrypoints, a 'graphical' port, optional native dialogs (e.g. Open), and even advanced graphical features such as window transparency. A port to Linux is currently underway.TSE has at times been referred to as 'Tessie', derived from its acronym (TSE).
TSE used the codename 'RoadRunner' during initial development, until it was formally named TSE. Comments from
Sammy Mitchell indicated the name change was forced due to a trademark dispute raised by another business.Graphical Text User Interface
Earlier versions of TSE were text-mode, character-based applications, like its ancestor Qedit. Version 2.6 added a native
Win32 port, but still character based (using the Win32 ConsoleAPI s). Version 4.0 included theWin32 application rewritten as apixel -based graphical application (g32.exe). This is commonly misunderstood to be a console application, as it still appears textual, despite being a native Win32 graphical application. Visually, g32 appears to work in lines and columns, though it is a graphical application (via WinMain and GDI APIs, not the Console API).This text-like behavior greatly simplified porting existing scripts and provided a common user experience; attempts to rewrite it as a truly graphical,
pixel -based application with multiple windows,MDI , fractional lines/columns and so forth would have greatly increased the development effort, likely resulting in an entirely new application with little "Qedit/TSE-ness" to it other than the title.As TSE's primary role is to view and edit text, the graphical flavor's "text-like" display is far less detriment than some initially feared (and actually a plus in many users opinion). However, the jump to a 'graphical' implementation brought several advantages by being a graphical application not tied to a Windows 'console', including a broader selection of fonts (not just raster-based console options), native dialogs for Open, Save and Print (the text mode prompts are available via configuration option and still popular with a large percentage of the user community) and window resizing including maximize.
Qedit and TSE supported various line/column sizes based on the underlying video display options, but it was not until the graphical version that a window could be sized to any number of rows and columns. This occurred around the same time larger displays were becoming increasingly common, and more recently wide screen displays, forming a fortuitious nexus of TSE behavior and user capabilities.
emWare Application Language
The Semware Application Language (SAL) uses a Pascal-like notation supporting procedural functions and procedures, local and global
variable s, constants, apreprocessor including common #include and #ifdef keywords, iterative and recursivecontrol structure s, and many text editing specific functions, which allows e.g. to automate common text editing tasks.For example:
proc Main() integer I for I = 1 TO 3 Warn( "hello world ", I ) endfor end
Data Types
SAL supports integer and string data types.
An
integer in SAL is a 32-bit base-2 signed integral numeric. A string in SAL is a (declared) fixed-sizearray of characters, with a maximum definable length of 255 characters.SAL
API s support creation of arbitrary buffers, including non-interactive buffers that are not visible to the user. A rich set of functions are available to access and manipulate buffers and their contents, effectively acting as very large text containers. As this is the fundamentaldata structure used by TSE to display and edit text, the breadth and depth of functionality is not surprising.Features
This represents a list of major and minor features in TSE:
* Color syntax highlighting
** Configurable definition
*** comments
*** keywords
*** literals
*** colors
** Ships with color syntax highlight definitions for over 45 languages including
*** Batch file
**** DOS
**** 4DOS
**** 4NT
*** ADA, C, C++, C#
*** COBOL, CSS, ColdFusion, Delphi
*** Fortran, HTML, Java, Javascript
*** Latex, Matlab, PHP, Pascal
*** Perl, Python, Ruby, SAS
*** SQL, Tcl, Tex, Visual Basic, VBScript
* Editing
** Smart Editing
*** Smart Indent
*** Multiple tab modes
**** Hard tab
**** Soft tab
**** Smart tab
**** Variable tab
*** Smart newline handling
**** CR
**** LF
**** CR/LF
**** Save as loaded (binary)
*** Right Margin
*** Word Wrap
*** Paragraph Reformat
*** Sort
**** buffer
**** block
* I/O
** Fast I/O
* Blocks
** Marked Blocks
*** Character marking
*** Line marking
*** Column marking
*** Clipboard
**** Cut
**** Copy
**** Paste to/from...
***** Default clipboard
***** Named clipboards (unlimited)
***** Windows clipboard
* Macros
** Keyboard
*** Record keystrokes for later playback
*** Disk
**** Save to disk
**** Load from disk
** SAL - Script/Macro language
*** Online Help
* Memory
** Small memory footprint
* Search/Replace
**Regular expression s
** Search...
*** ...from marked block
*** ...cursor to end of buffer
*** ...whole buffer
*** ...across all buffers
** "Compressed View" - Display all matches in a window for review and selection
* Spell Checker
** English language
** User definable list of words
* Startup
** Fast startup
* State history
** Undo
*** Unlimited fullUndo /Redo
** Save state
*** Restore state at startup
*** Save state on exit
* View
** Display
*** Hex view
*** Browse mode - Read-only access to the buffer
*** Change display size (lines/columns)
** Function View
*** Show list of 'functions' in current buffer
**** Jump to a selected function
* Windowing
** Multiple Windows
*** Horizontal and Vertical windows
*** Resizable
*** Synchronized ScrollingVersions: History: Time Line
ee also
*
Comparison of text editors
*List of text editors External links
* [http://www.semware.com TSE (The SemWare Editor)] Web page
----
Wikimedia Foundation. 2010.