2010-03-03 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- examples/pe/license.txt
+ examples/pe/sample.txt
* examples/pe/pe.prg
* Renamed sample file.
* examples/pe/editorlo.c
- examples/pe/readme.txt
* Moved readme content inside the source as comment.
This commit is contained in:
@@ -17,6 +17,16 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-03-03 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
- examples/pe/license.txt
|
||||
+ examples/pe/sample.txt
|
||||
* examples/pe/pe.prg
|
||||
* Renamed sample file.
|
||||
|
||||
* examples/pe/editorlo.c
|
||||
- examples/pe/readme.txt
|
||||
* Moved readme content inside the source as comment.
|
||||
|
||||
2010-03-03 01:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* examples/pe/editorlo.c
|
||||
* examples/pe/pe.prg
|
||||
|
||||
@@ -2,6 +2,24 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
Known bugs:
|
||||
----------
|
||||
1) It requires files separated with CR/LF pairs
|
||||
2) NextWord() doesn't work correctly
|
||||
3) If text contains color escape codes then deleting or inserting
|
||||
of characters doesn't work correctly in the line that contains it
|
||||
|
||||
To fix:
|
||||
------
|
||||
1) All TAB characters are replaced with spaces at startup - if edited file is
|
||||
very large and contains many TABs then it can take a vary long time - TAB
|
||||
characters should be left unchanged and interpreted during editing
|
||||
2) It reformats whole text at startup - again for a very long text it can
|
||||
take too much time
|
||||
3) Text buffer shold be reallocated dynamically
|
||||
*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbapifs.h"
|
||||
#include "hbapigt.h"
|
||||
|
||||
@@ -7,10 +7,7 @@ PROCEDURE Main( cFile )
|
||||
LOCAL lEdit := .T.
|
||||
|
||||
IF cFile == NIL
|
||||
cFile := "license.txt"
|
||||
IF ! hb_FileExists( cFile )
|
||||
cFile := "../../../license.txt"
|
||||
ENDIF
|
||||
cFile := "sample.txt"
|
||||
lEdit := .F.
|
||||
ENDIF
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
Known bugs:
|
||||
----------
|
||||
1) It requires files separated with CR/LF pairs
|
||||
2) NextWord() doesn't work correctly
|
||||
3) If text contains color escape codes then deleting or inserting
|
||||
of characters doesn't work correctly in the line that contains it
|
||||
|
||||
To fix:
|
||||
------
|
||||
1) All TAB characters are replaced with spaces at startup - if edited file is
|
||||
very large and contains many TABs then it can take a vary long time - TAB
|
||||
characters should be left unchanged and interpreted during editing
|
||||
2) It reformats whole text at startup - again for a very long text it can
|
||||
take too much time
|
||||
3) Text buffer shold be reallocated dynamically
|
||||
Reference in New Issue
Block a user