Page 1 of 3

Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 10:30 am
by kcarmody
I've overhauled and enhanced the Rich Edit demo and put it on my web site at http://kevincarmody.com/hmg/SAMPLES/Con ... chEditBox/.

This version uses the justify fix and GetFile/PutFile enhancements that I posted before. See http://www.hmgforum.comviewtopic.php?f=20&t=3995 and viewtopic.php?f=8&t=4009.

This version includes several other enhancements:
  • * Main menu
    * List of recently used files
    * Resizable windows
    * Ctrl-B, Ctrl-I, Ctrl-U supported
    * File name in title, file name and page in status bar
    * Modified flag, caps lock, num lock, insert status on status bar
    * Window size, font name and size, recently used file names stored in registry
    * Paragraph numbering
    * Read and write text files, including workarounds for Unicode text files
    * Other enhancements
The handling of Unicode text files is an issue that I will bring up in another topic.

Kevin

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 11:28 am
by mol
WOW!
Great job, Kevin.
Thanks for sharing!
You should pack all files into one archive before share it.
It's hard to download every resource file one by one.

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 11:45 am
by kcarmody
Mol, thanks for reminding me about this. I've made a zip file in http://kevincarmody.com/hmg/SAMPLES/Con ... chEditBox/ with the whole demo. Remember to also download the justify and dialog enhancements and rebuild the HMG library. The question about Unicode text files is in viewtopic.php?f=8&t=4031.

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 12:00 pm
by bpd2000
Thank you Mr. Kevin

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 12:20 pm
by esgici
mol wrote:WOW!
Great job, Kevin.
Thanks for sharing!
You should pack all files into one archive before share it.
It's hard to download every resource file one by one.
+1

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 2:39 pm
by mol
Sorry, I have no experience with Unicode :-(

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 4:41 pm
by Javier Tovar
Hola Kevin,

Quise compilar tu demo y me sale el siguiente error:
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/
C:/Users/Maquina9/AppData/Local/Temp/hbmk_28a2lo.dir/demo.o:demo.c:(.data+0x778): undefined reference to `HB_FUN_HMG_ISNOTDEFPARAM'
collect2: ld returned 1 exit status
hbmk2[demo]: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/Maquina9/AppData/Local/Temp/hbmk_28a2lo.dir/demo.o C:/Users/Maquina9/AppData/Local/Temp/hbmk_28a2lo.dir/hbmk_41jxts.o C:/hmg.3.3.1/Mios/DemoRichEditBox/_temp.o -Wl,--nxcompat -Wl,--dynamicbase -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -odemo.exe -LC:/hmg.3.3.1/harbour/lib/win/mingw -LC:/hmg.3.3.1/lib

hbmk2: Error: Funci¢n(es) referenciada, no encontrada, pero desconocida:
HMG_ISNOTDEFPARAM()
Sabes a que se refiere ese error al compilar?

Saludos

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 4:44 pm
by serge_girard
Thanks Kevin !

I will give a try as soon as I wiil be at home.

Serge

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 5:30 pm
by esgici
kcarmody wrote:I've overhauled and enhanced the Rich Edit demo...
Thanks Mr. Carmody, tried, no problem, everything is fine :arrow:

May (or may not) a bit think on About page :?
Javier Towar wrote:Quise compilar tu demo y me sale el siguiente error:
...
Sabes a que se refiere ese error al compilar?

Hi boy !

You need learn : real programmers never send anything without adequate tested ;)

Re: Enhanced Rich Edit Demo

Posted: Fri Nov 07, 2014 8:02 pm
by Javier Tovar
esgici wrote:Javier Towar wrote:
Quise compilar tu demo y me sale el siguiente error:
...
Sabes a que se refiere ese error al compilar?

Hi boy !

You need learn : real programmers never send anything without adequate tested
Pues tienes razón en que necesito aprender y mucho, y por eso pregunto, ya que mi conocimiento es escaso y no puedo resolver este problema de compilación, ES AQUÍ EL LUGAR PARA APRENDER O SOLO ES PARA LOS QUE SABEN??? SR. ESGICI???

Saludos