diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9a74deda30..90b63c2dd4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -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 diff --git a/harbour/examples/pe/editorlo.c b/harbour/examples/pe/editorlo.c index d2cda2de03..df9cb42ccb 100644 --- a/harbour/examples/pe/editorlo.c +++ b/harbour/examples/pe/editorlo.c @@ -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" diff --git a/harbour/examples/pe/pe.prg b/harbour/examples/pe/pe.prg index b60dd701bc..abaf73ab83 100644 --- a/harbour/examples/pe/pe.prg +++ b/harbour/examples/pe/pe.prg @@ -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 diff --git a/harbour/examples/pe/readme.txt b/harbour/examples/pe/readme.txt deleted file mode 100644 index 609d0f8256..0000000000 --- a/harbour/examples/pe/readme.txt +++ /dev/null @@ -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 diff --git a/harbour/examples/pe/license.txt b/harbour/examples/pe/sample.txt similarity index 100% rename from harbour/examples/pe/license.txt rename to harbour/examples/pe/sample.txt