{{Short description|Text editing software}} {{Multiple issues| {{More citations needed|date=December 2019}} {{unreliable sources|date=November 2012}} {{Original research|date=December 2019}}}} {{Infobox software | name = The Semware Editor (TSE) | logo = | screenshot = | caption = | author = Sammy Mitchell | developer = The SemWare Corporation | released = {{Start date and age|1985}}<!-- as QEDIT --> | latest release version = {{wikidata|property|preferred|references|edit|Q7763278|P348|P548=Q2804309}} | latest release date = {{wikidata|qualifier|preferred|single|Q7763278|P348|P548=Q2804309|P577}} | latest preview version = {{wikidata|property|preferred|references|edit|Q7763278|P348|P548=Q51930650}} | latest preview date = {{wikidata|qualifier|preferred|single|Q7763278|P348|P548=Q51930650|P577}} | operating_system = [[Microsoft Windows|Windows]], [[Linux]], [[MS-DOS]], [[OS/2]] | platform = [[x86]] | genre = [[Text editor]] | language = C | license = 2021: [[BSD licenses|BSD-2-Clause]]<ref>{{cite web|url=https://ecarlo.nl/tse/files/TseHelp.html#license_agreement|title=Generated TSE Manual}}</ref><br />1985: [[Proprietary software|Proprietary]] | website = {{URL|http://www.semware.com/}} }}
'''The SemWare Editor''' (TSE) is a [[text editor]] [[product line]]. Initially named '''QEdit''' and released November 1985 as [[shareware]], it was later modified to run as a [[terminate-and-stay-resident]] (TSR) program, and ported to [[OS/2]]<ref> {{cite journal |title= Homesteading the OS/2 applications farm |first= Gene |last= Wilburn |journal= Computing Canada |date= July 5, 1993 |volume= 19 |issue= 14 |page= 22 |quote= I took the plunge into native apps by obtaining OS/2 versions of two of my favorite DOS programs - QEdit for OS/2 and Buerg's LIST for OS/2. }}</ref> and eventually evolved (via rewrite) to TSEPro (professional edition).
TSEPro supports many productivity features including an [[automation]] [[Macro (computer science)|macro language]], [[regular expression]] search and replace, keystroke record and playback, undo and redo, and user-assignable [[shortcut keys]]. Like its predecessor QEdit, TSEPro is often used as a [[code editor]].<ref>social.wakoopa.com/software/tse-pro Wakoopa stats on TSE Pro as text editor</ref>
Older versions (QEdit) supported [[MS-DOS]] and [[OS/2]], and newer versions (TSEPro) support [[Windows]] and [[Linux]].
==QEdit== [[File:SemWare-Qedit-BoxManualAndDisk.jpg|thumb|Manual, box and disk (circa 1990)]]
Initially, QEdit ran only on MS-DOS. As [[computer memory | memory]] of contemporary computers was limited, less memory use was desirable. QEdit used only 50 [[kilobyte |KB]] whereas some contemporary editors used 10 times as much.<ref> {{cite news |title= QEdit fast, simple to use |last= Rife |first= Bob |work= [[The Globe and Mail]] |date= January 27, 1993 |page= 9 |quote= Besides speed and ease of use, QEdit is compact, taking only 50 KB of space, compared with many other editors that can be 10 times the size. }}</ref> Early versions maintained file content in [[conventional memory]], but to support larger files, later versions supported various [[DOS memory management]] features including [[expanded memory]] (EMS), [[extended memory]] (XMS) and [[virtual memory]], up to a maximum of 16 [[Megabyte |MB]].
QEdit was ported to [[OS/2]] as a 16-bit application for OS/2 1.x. Version 1.50 is dated February 1990.<ref>{{Cite web|url=http://www.mpoli.fi/files/software/OS2/UTILS/index.html|title = Metropoli files - metropoli/Pd}}</ref>
SemWare ported QEdit for 32-bit OS/2 with the release of QEdit Pro 3.0 for OS/2 in February 1994 which sold for $99. Version 3.0 includes multi-file operation, HPFS support and access to the OS/2 Clipboard. SemWare claimed over 120,000 licensed users on all platforms at that time.<ref>{{Cite web |url=http://www.brado-bbs.de/ra233c.htm |title=Archived copy |access-date=2009-09-09 |archive-date=2005-08-10 |archive-url=https://web.archive.org/web/20050810081929/http://www.brado-bbs.de/ra233c.htm |url-status=dead }}</ref>
The last versions were released as The SemWare Editor Junior edition.<ref>[http://semware.com/html/tsejrfl.html The SemWare® Editor Junior V4.0 for MS-DOS]</ref> The last version was released in February 1997 for OS/2 with the name "TSE Junior/2".<ref>{{Cite web|url=http://www.sac.sk/files.php?d=19&l=T|title=SAC}}</ref> It is functionally equivalent to TSE Junior v4.00e with support for OS/2's system-wide clipboard and long filenames. It retailed at the time for $99 and was supplied with a copy of the MS-DOS basic version.<ref>{{Cite web|url=http://www.edm2.com/0611/editors12.html|title=EDM/2 - A Programmer's Editor Shootout - the SemWare Editor}}</ref>
==TSEPro== QEdit was rewritten and significantly expanded, and eventually released as The SemWare Editor Professional (TSEPro) edition which includes a macro programming language, syntax highlighting, and large file support.<ref>[https://semware.com/html/products.php The SemWare® Editor Products]</ref> The initial release maintained the tradition of fast I/O and response, fast search, a simple text scripting language and the fundamental design of a native core with functionality split between native code and scripting.<ref> {{cite journal |title= Build your own text editor |first= Jeff |last= Holtzman |journal= Popular Electronics |date= April 1994 |volume=11 |issue= 4 |page= 76 |quote= TSE is relatively speedy, although it's not as fast as QEdit. (The reason is that QEdit is strictly a RAM-based editor that cannot edit flies larger than available RAM.) On the other hand, TSE has numerous powerful features, including column-mode operations, sorting, regular expression search/replace, intelligent tabbing, support for C, C++. and Pascal program flies, and the ability to execute DOS programs (e.g., compilers and print utilities). }}</ref> New features included [[regular expression]] search and replace and a more powerful scripting language (with access to [[Dynamic-link library |DLL]] entry points).
Earlier versions operated in the console window in text-only mode with limited character sets and colors. Version 2.6 was a [[Native mode |native]] [[Win32]] [[Ported |port]], but was still character-based (using the [[Win32 console|Win32 Console]] [[API]]s). Version 4.0 included the [[Win32]] application rewritten as a [[pixel]]-based graphical application (g32.exe) using [[Graphics Device Interface]] (GDI). This is commonly misunderstood to be a [[System console |console]] application, as it still appears textual despite being a Win32 graphical application. Visually, g32 appears to work in lines and columns, though it is a graphical application (via [[Message loop in Microsoft Windows |WinMain]] and GDI, not the Console API).
==SemWare Application Language== The macro programming language, SemWare Application Language (SAL), uses a [[Pascal (programming language)|Pascal]]-like notation supporting [[Procedural programming |procedural]] [[Function (computer science)|functions]] and [[Subroutine |procedures]], [[local variable |local]] and [[global variable |global]] [[Variable (programming)|variables]], [[Variable (programming)#Constants|constants]], a [[preprocessor]] including common #include and #ifdef [[Keyword (computer programming)|keywords]], [[Iteration#Computing |iterative]] and [[Recursion |recursive]] [[control structure]]s, and many text-editing-specific functions. SAL supports two data types: an [[integer]] is a 32-bit, base-2, signed, integral number, and a [[String (computer science)|string]] is a fixed-size array of characters, with a maximum definable length of 255 characters. SAL supports the creation and use of text [[Buffer (computer science)|buffers]], including non-interactive buffers, which are not visible to the user.
For example:
<syntaxhighlight lang="pascal"> proc Main() integer i for i = 1 to 3 Warn("Hello world ", i) endfor end </syntaxhighlight>
==Timeline== {| class="wikitable" |- ! Month ! Year ! Name ! Version ! Description |- | May | rowspan="2" | 1985 | QEdit | – | First [[Software release cycle#Beta|beta]] version |- | Nov | QEdit | 1.0 | First official release – Written in [[Turbo Pascal]] |- | Feb | rowspan="4" | 1986 | QEdit | 1.2 | Multiple [[Window system|windows]] |- | Mar | QEdit | 1.25 | – |- | May | QEdit | 1.25A | – |- | Jul | QEdit | 1.30 | – |- | Apr | rowspan="4" | 1987 | QEdit | 1.35 | – |- | Jun | QEdit | 1.36 | – |- | Jul | QEdit | 1.37 | – |- | Oct | QEdit | 1.38 | Size decreased to 29 KB |- | Feb | rowspan="5" | 1988 | QEdit | 1.39 | – |- | Feb | QEdit | 2.00 | Pulldown [[Menu (computing)|menus]] added |- | Mar | QEdit | 2.03 | Converted to [[Turbo Pascal]] 4.0 |- | Apr | QEdit | 2.05 | – |- | Dec | QEdit | 2.07 | Added Column blocks |- | Feb | rowspan="2" | 1989 | QEdit | 2.07A | – |- | Jul | QEdit | 2.08 | – |- | Feb | 1990 | QEdit | 2.1 | Converted to [[C programming language|C]] / First release of TSR version / First release of QEdit for [[OS/2]] / First [[German language|German]] [[Translation#Computer translation|translation]] |- | Mar | rowspan="2" | 1991 | – | – | First TSEPro [[Software release cycle#Beta|beta]] / Includes first version of SAL, [[Virtual memory]] support, multifile, block support. |- | Aug | QEdit | 2.15 | – |- | – | 1992 | – | – | Product line split into TSE Jr. (formerly QEdit) and TSE Pro |- | Mar | 1993 | TSEPro | 1.0 | First release, [[Virtual memory]], macro language |- | Feb | rowspan="2" | 1994 | QEdit | 3.0 | Last product named QEdit / [[High Performance File System|HPFS]] support in [[OS/2]] version |- | Sep | TSEPro | 2.0 | [[Help system]], history |- | Mar | rowspan="2" | 1995 | TSEJr | 4.0 | QEdit renamed to TSEJr |- | Sep | TSEPro | 2.5 | Multifile find, save state, last DOS version |- | Oct | 1996 | TSEPro | 2.6 | First [[Win32]] version – [[System console|Console]] only |- | Feb | rowspan="3" | 1997 | TSE JR/2<ref>{{cite web |url=http://www.os2bbs.com/download/edit.html |title=OS/2 Shareware BBS Website |website=www.os2bbs.com |url-status=dead |archive-url=https://web.archive.org/web/20001211020200/http://www.os2bbs.com/Download/edit.html |archive-date=2000-12-11}}</ref> | 4.0 | first [[OS/2]] version of TSEJr; console only |- | Mar | – | – | First experimental Windows [[Graphical user interface|GUI]] version |- | Jun | TSEPro | 2.8 | [[Syntax highlighting|Color syntax highlighting]] |- | Dec | 1998 | – | – | Experimental Windows GUI version killed |- | Apr | 2001 | TSEPro | 3.0 | [[Undo]]/[[redo]] |- | May | 2002 | TSEPro | 4.0 | First GUI version |- | Feb | rowspan="2" | 2004 | TSEPro | 4.2 | – |- | Oct | – | – | First [[Software release cycle#Beta|beta]] for Linux |- | May | 2005 | TSEPro | 4.4 | – |- | Jan | 2022 | TSEPro | 4.42 | For Windows and Linux |- |}
==See also== * [[Comparison of text editors]] * [[Tim Farley]]
==References== {{Reflist}}
==External links== * {{official website|http://www.semware.com/}}
{{DEFAULTSORT:TSE}} [[Category:DOS text editors]] [[Category:OS/2 text editors]] [[Category:Windows text editors]]