Difference between revisions of "CmdLine"
Alexandrus (talk | contribs) |
Alexandrus (talk | contribs) (→About) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
''CmdLine'' is a prompt component, which has a few extra features to fit better into a VCL environment. | ''CmdLine'' is a prompt component, which has a few extra features to fit better into a VCL environment. | ||
− | Its main | + | Its main features over those of an ordinary prompt are : |
− | + | * Dynamic line length: lines which are too long are wrapped (Word wrapping or Char wrapping) | |
− | * Dynamic line length | ||
* Independent input buffer so you can still write during input | * Independent input buffer so you can still write during input | ||
− | * | + | * Input history |
* Copy/paste/cut for input | * Copy/paste/cut for input | ||
* Multispace font support | * Multispace font support | ||
* ANSI escape codes or CmdBox special escape codes (or none if you switch them off) | * ANSI escape codes or CmdBox special escape codes (or none if you switch them off) | ||
− | '''If you find | + | '''If you find bugs, don't work around them please,''' [[User:Alexandrus|contact me]], I probably can fix it in less than a day and you don't have to work around again if the next version is released. |
It should work on Win32, GTK and GTK2. | It should work on Win32, GTK and GTK2. | ||
Line 34: | Line 33: | ||
=== Download === | === Download === | ||
− | The latest stable release can be found on the [http://sourceforge.net/ | + | The latest stable release can be found on the [http://sourceforge.net/projects/lazarus-ccr/files/?source=navbar Lazarus CCR download page]. |
− | An Example Application is included | + | It is also available in the lazarus SVN, [http://wiki.freepascal.org/Using_the_Lazarus-ccr_SVN_repository Using Lazarus-ccr SVN] |
+ | |||
+ | An Example Application is included. | ||
=== Change Log === | === Change Log === | ||
+ | * Version 0.5.4 2014.12.01 | ||
+ | ** Fixed arrow key behaviour | ||
+ | ** Fixed component height calculation | ||
+ | * Version 0.5.2 2009.08.04 | ||
+ | ** Published generic controls | ||
+ | ** Seperated front- and background drawing, should solve kerning issues | ||
+ | ** Added WriteInput property | ||
+ | ** Scrolling simplified | ||
* Version 0.5.1 2009.03.25 | * Version 0.5.1 2009.03.25 | ||
** Fixed StartRead | ** Fixed StartRead | ||
Line 74: | Line 83: | ||
* Open cmdline.lpk | * Open cmdline.lpk | ||
* Press Install | * Press Install | ||
+ | |||
+ | [[Category:Components]] | ||
+ | [[Category:Lazarus-CCR]] |
Latest revision as of 18:26, 11 December 2014
About
CmdLine is a prompt component, which has a few extra features to fit better into a VCL environment.
Its main features over those of an ordinary prompt are :
- Dynamic line length: lines which are too long are wrapped (Word wrapping or Char wrapping)
- Independent input buffer so you can still write during input
- Input history
- Copy/paste/cut for input
- Multispace font support
- ANSI escape codes or CmdBox special escape codes (or none if you switch them off)
If you find bugs, don't work around them please, contact me, I probably can fix it in less than a day and you don't have to work around again if the next version is released.
It should work on Win32, GTK and GTK2.
Screenshots
Example Application on Vista
Authors
Julian Schutsch
Dmitry Kolomiets aka B4rr4cuda (UTF8, testing)
License
LGPL (please contact the author if the LGPL doesn't work with your project licensing)
Example Program:GPL
Download
The latest stable release can be found on the Lazarus CCR download page.
It is also available in the lazarus SVN, Using Lazarus-ccr SVN
An Example Application is included.
Change Log
- Version 0.5.4 2014.12.01
- Fixed arrow key behaviour
- Fixed component height calculation
- Version 0.5.2 2009.08.04
- Published generic controls
- Seperated front- and background drawing, should solve kerning issues
- Added WriteInput property
- Scrolling simplified
- Version 0.5.1 2009.03.25
- Fixed StartRead
- Wrap Types Char/Word
- Buffered Linecounts (slight speed improvement)
- Version 0.5 2008.06.29
- TColorString rewritten
- Multispace support, lots of changes for that
- Added Tab/Escape stuff
- Speed improvements
- UTF8 Support
- Multithreading (write/writeln) checked, could work without synchronize (with TTimer instead)
- Version 0.3 2007.10.9
- Removed fixed line width support
- Added Paste/Copy/Cut
- Threadsafe writeln/write
- Fixed GTK 1/2 Support (tested on Kubuntu)
- Workaround for font height, now gets +2 added (TTextMetric not equal on Win32/GTK)
- Fixed Scrolling with Pos1/End suppressed on GTK
- Version 0.2 2007.10.2
- LGPL Licence
- Added history
- Added password input mode
- Added fixed promt description infront of input
- Minor bugs (Resizing, other)
- Version 0.1 2007.9.27
- Published, component works on Win32, hopefully everywhere else too
Dependencies / System Requirements
- LCL >=1.0
Status: Beta
Installation
- Open cmdline.lpk
- Press Install