Ctrl-P in Memoedit()

This is a discussion on Ctrl-P in Memoedit() within the xharbour forums in Programming Languages category; Hi all! I am using Linux, xHarbour 1.0.0-beta1. Problem: function in memoedit() called with Ctrl-P will not do. inkeytst.prg shows key 16 alright. But memoedit() does not recognize it. If I assigne the function to F6 (key -5) all is right. Any suggestions? Regards Claudia...

Go Back   Application Development Forum > Programming Languages > xharbour

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-22-2008, 03:39 PM
Claudia
Guest
 
Default Ctrl-P in Memoedit()

Hi all!

I am using Linux, xHarbour 1.0.0-beta1.
Problem: function in memoedit() called with Ctrl-P will not do.
inkeytst.prg shows key 16 alright. But memoedit() does not recognize it.
If I assigne the function to F6 (key -5) all is right.

Any suggestions?

Regards

Claudia


Reply With Quote
  #2  
Old 08-23-2008, 06:26 AM
Norman Perelson
Guest
 
Default Re: Ctrl-P in Memoedit()

Claudia wrote:
> Hi all!
>
> I am using Linux, xHarbour 1.0.0-beta1.
> Problem: function in memoedit() called with Ctrl-P will not do.
> inkeytst.prg shows key 16 alright. But memoedit() does not recognize it.
> If I assigne the function to F6 (key -5) all is right.
>
> Any suggestions?
>
> Regards
>
> Claudia
>
>

Hi Claudia,

I find that Ctrl-P works in memoedit() after I use the command:

SET KEY 16 TO MyFunc()

I used Harbour in Ubuntu Linux. I have not tried XHarbour.

Regards,
Norman
Reply With Quote
  #3  
Old 08-29-2008, 07:25 PM
Claudia
Guest
 
Default Re: Ctrl-P in Memoedit()

Hi Norman, hi all!

That was not the solution, because then I could not reuse other editing
commands.

I found the solution in the xHarbour source code:
source/rtl/memoedit.prg:
133c133
< ::aConfigurableKeys := { K_CTRL_N, K_CTRL_Y, K_CTRL_T, K_CTRL_B,
K_CTRL_W, K_CTRL_P }
---
> ::aConfigurableKeys := { K_CTRL_N, K_CTRL_Y, K_CTRL_T, K_CTRL_B,

K_CTRL_W }

Now I have the same problem with Ctrl-P in Tbrowse object. I keep searching
the source code.

Regards

Claudia



Norman Perelson wrote:

> Claudia wrote:
>> Hi all!
>>
>> I am using Linux, xHarbour 1.0.0-beta1.
>> Problem: function in memoedit() called with Ctrl-P will not do.
>> inkeytst.prg shows key 16 alright. But memoedit() does not recognize it.
>> If I assigne the function to F6 (key -5) all is right.
>>
>> Any suggestions?
>>
>> Regards
>>
>> Claudia
>>
>>

> Hi Claudia,
>
> I find that Ctrl-P works in memoedit() after I use the command:
>
> SET KEY 16 TO MyFunc()
>
> I used Harbour in Ubuntu Linux. I have not tried XHarbour.
>
> Regards,
> Norman


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:08 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.