Jolly Farmer: Tim Jacob - IT | |
email: tja...@jollyfarmer.com web: www.jollyfarmer.com tel: 506-325-3850 | fax: 506-325-3890 |
|
"Integrity, Quality, & Reliable Service Since 1967" |
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
the by Thiarnron reported problem i never could replicate, so can not confirm.
I followed even Massimo's wish to compare against Cl*pper, looked well at me.
- also, it is saved into the memo field and will cause e.g. LaTeX to fail when it is encountered.
...
So I am wondering whether this can be repaired.
Wotrd-Wrap is per default ON, will cause CHR141 (soft-CR) insertion, can be disabled like here described:
http://x-hacker.org/ng/53guide/ng6c7b8.html
http://x-hacker.org/ng/53guide/ng69599.html
I would suggest doing so right with ME_INIT ( aka memoedit startup ) if you don't wont such.
Please try to prepare a minimal example, then i may can help further -- even up to fixing a problem if we find one ...
Would like to see at least your <userfunc>, but a 'full' snippet with a "PROC main" is better.
best regards
Rolf
Hi Przemek, hi Rolf
thank you for your responses. I am grateful for your willingness to follow this up.
I will be on a business trip the next two days, and I may not find the time to put an example together on Friday. Unfortunately, my main job is another...
But I will do this as soon as I can and then post it officially.
Thanks again,
Kristian
Nanolytics--
Gesellschaft fuer Kolloidanalytik mbH
Dr. Kristian Schilling
Am Muehlenberg 11
D-14476 Potsdam
Tel: +49 331 5818360
Fax: +49 331 5818361
e-mail: schi...@nanolytics.de
Internet: www.nanolytics.de
_______________________________________________
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
--- You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Kristian,
ups, the nightly build is a month old, the memoedit changes just some days.
I'll make an extra note about, should be soon fixed ...
---
Another tip about: .. Else K_TAB will stay LASTKEY()
In the former "C-lipper T-ools" was a function called: SetLastKey().
That is what you want, much better than to push a new key with KeyBoard.
I intense use this function collection, nearly all also available in Harbour.
So you have two choices, one is to use "native' Harbour:
hb_KeySetLast( nKey )
the other way is to use the CT [clipper tools] function:
SetLastKey( nKey )
This case you have to link the contrib: hbct to your application by just easy adding:
hbct.hbc
to your hbmk2 command line/ .hbp make file. Both functions do internally the same ...
Please note that you can use zero: SetLastKey( 0 )
---
Catching an InKey before it is applied to the MemoEdit text is tricky.
Possible again with a function from the Clipper Tools:
SetKxLat(), which will modify the key codes of TYPED! inkeys.
http://www.x-hacker.org/ng/tools1-3/ng1c8af.html
Try:
#include "ctscan.ch"
..
SetKxLat( KS_TAB, KS_ALT_T )
MemoEdit( .... )
SetKxLat( KS_TAB )
and then in _getmemokeys() you check for K_ALT_T as result for a typed! K_TAB.
Please note, that SetKxLat() uses key-codes out of the ctscan.ch with a "KS_" prefix,
but in you <userfunc> for the memoedit you check and test for 'classic' key-codes.
Don't forget to reset such modifications soon as possible, to avoid 'funny behavior' of your application ;-)
The target key shell be one else not used in application, to not disturb/ de-activate app logic.
And note, that above removes the possibility to really TYPE a TAB.
best regards
Rolf
This is old version which does not contain fixes I committed about two
weeks ago. Please take current code from GITHUB and rebuild Harbour.
In this version all should work just like in Cl*pper.
Hi Kristian,
something went wrong building Harbour, it failes in your screenshot with building the 'contribs' [during build process called 'projects'].
Contribs are many libraries like mentioned ClipperTools is one, which makes Harbour so powerful:
for SQL access, PDF create, barcodes, sending eMail etc etc.
As first quick assumption: looks like something is wrong with the PATH to the MinGW C compiler.
If no success, do following:
in Windows you can re-direct the output in the [DOS] command window, instead to screen into a file, by adding to the end of the command:
> log.txt 2> err.txt
With attaching that (zip-ped packed) result plus info about your PATHs and how you set them,
start a new thread, have nothing to do with memoedit.
And I would still be grateful if you pointed me to documentation on hbEdit that was mentioned on another thread. It might be a good option for future applications if it is superior to Memoedit().
MemoEdit() [in src/rtl/memoedit.prg] in native Harbour inherits 'basic' HBEditor class & methods, defined in src/rtl/teditor.prg.
So you also can do to create a personalized 'text editor'.
I admit this is a bit advanced task, needs a bit knowledge of OO [object orientated] programming style and what Harbour does in its' HBEditor methods.
best regards
Rolf