1. Meditor update for foreing caracters

Hi Pete,


	Any chance of a Meditor update to accept foreing caracters  ?

Rubens

new topic     » topic index » view message » categorize

2. Re: Meditor update for foreing caracters

On Mon, 22 Nov 2004 10:40:44 -0200, Rubens Monteiro Luciano
<rml at rubis.trix.net> wrote:

>Hi Pete,
>
>
>	Any chance of a Meditor update to accept foreing caracters  ?
>
I thought it already did allow foreign characters.
What version are you currently using? (See Help, About).
It is quite possible I messed up on the last release (02/09/04).

Note that you won't be able to use foreign characters in variable
names, etc, since the Euphoria interpreter rejects them.

Perhaps, dumb as it may sound, I need a quick example (or two) to
confirm precisely what it is you are asking for.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

3. Re: Meditor update for foreing caracters

Pete,

I keep getting errors when Meditor is running, and I try to open
another file. (Expected action: either opening it within the first
instance of Meditor, or a new instance opening with that file)

d:\Euphoria\MEDIT\ipc.ew:198 in function AllocateSharedObject() 
A machine-level exception occurred during execution of this statement 
<SNIP>
... called from d:\Euphoria\MEDIT\ipc.ew:309 in function CallProcedure()  
<SNIP>
... called from d:\Euphoria\MEDIT\ipc.ew:318 in function ipc_CallFunc()  
<SNIP>
... called from d:\Euphoria\MEDIT\editor.exw:4178 in procedure main()  
<SNIP>

I'm using the 02/09/04 version, on windows XP. Can you reproduce this error?


On Mon, 22 Nov 2004 18:50:11 +0000, Pete Lomax
<petelomax at blueyonder.co.uk> wrote:
> 
> On Mon, 22 Nov 2004 10:40:44 -0200, Rubens Monteiro Luciano
> <rml at rubis.trix.net> wrote:
> 
> >Hi Pete,
> >
> >
> >       Any chance of a Meditor update to accept foreing caracters  ?
> >
> I thought it already did allow foreign characters.
> What version are you currently using? (See Help, About).
> It is quite possible I messed up on the last release (02/09/04).
> 
> Note that you won't be able to use foreign characters in variable
> names, etc, since the Euphoria interpreter rejects them.
> 
> Perhaps, dumb as it may sound, I need a quick example (or two) to
> confirm precisely what it is you are asking for.
> 
> Regards,
> Pete
> 
> 
> 
> 
> 


-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

4. Re: Meditor update for foreing caracters

Patrick Barnes wrote:
> 
> Pete,
> 
> I keep getting errors when Meditor is running, and I try to open
> another file. (Expected action: either opening it within the first
> instance of Meditor, or a new instance opening with that file)
> 
> d:\Euphoria\MEDIT\ipc.ew:198 in function AllocateSharedObject() 
> A machine-level exception occurred during execution of this statement 
> <SNIP>
> ... called from d:\Euphoria\MEDIT\ipc.ew:309 in function CallProcedure()  
> <SNIP>
> ... called from d:\Euphoria\MEDIT\ipc.ew:318 in function ipc_CallFunc()  
> <SNIP>
> ... called from d:\Euphoria\MEDIT\editor.exw:4178 in procedure main()  
> <SNIP>
> 
> I'm using the 02/09/04 version, on windows XP. Can you reproduce this error?
> 
> 
> On Mon, 22 Nov 2004 18:50:11 +0000, Pete Lomax
> <petelomax at blueyonder.co.uk> wrote:
> > 
> > On Mon, 22 Nov 2004 10:40:44 -0200, Rubens Monteiro Luciano
> > <rml at rubis.trix.net> wrote:
> > 
> > >Hi Pete,
> > >
> > >
> > >       Any chance of a Meditor update to accept foreing caracters  ?
> > >
> > I thought it already did allow foreign characters.
> > What version are you currently using? (See Help, About).
> > It is quite possible I messed up on the last release (02/09/04).
> > 
> > Note that you won't be able to use foreign characters in variable
> > names, etc, since the Euphoria interpreter rejects them.
> > 
> > Perhaps, dumb as it may sound, I need a quick example (or two) to
> > confirm precisely what it is you are asking for.
> > 
> > Regards,
> > Pete
> > 
> > 
> -- 
> MrTrick
> 
> 
> snip

I used to use MEdit (found in the archieves), then I tried
Textpad and UltraEdit with the Euphoria syntax file (highlighting,
bolding, italicing, etc..) for them. They absoultly kick the @#$^
out of MEdit, in so many ways! Unless your talking about another
editor :P

Vincent {*_*}

new topic     » goto parent     » topic index » view message » categorize

5. Re: Meditor update for foreing caracters

> I used to use MEdit (found in the archieves), then I tried
> Textpad and UltraEdit with the Euphoria syntax file (highlighting,
> bolding, italicing, etc..) for them. They absoultly kick the @#$^
> out of MEdit, in so many ways! Unless your talking about another
> editor :P

http://palacebuilders.pwp.blueyonder.co.uk/emeditor.html <-- this one.

The context sensitive help is damned useful, especially as you can set
up your own code so that it's parsed.
There's a whole heap of things it can do that are euphoria-specific.
Plus I like the tabbed system.


-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

6. Re: Meditor update for foreing caracters

Patrick Barnes wrote:
> 
> > I used to use MEdit (found in the archieves), then I tried
> > Textpad and UltraEdit with the Euphoria syntax file (highlighting,
> > bolding, italicing, etc..) for them. They absoultly kick the @#$^
> > out of MEdit, in so many ways! Unless your talking about another
> > editor :P
> 
> <a
> href="http://palacebuilders.pwp.blueyonder.co.uk/emeditor.html">http://palacebuilders.pwp.blueyonder.co.uk/emeditor.html</a>
> <-- this one.
> 
> The context sensitive help is damned useful, especially as you can set
> up your own code so that it's parsed.
> There's a whole heap of things it can do that are euphoria-specific.
> Plus I like the tabbed system.
> 
> 
> -- 
> MrTrick
> 
> 
Thats not the one I was talking about :P the one on this site:

http://www.troja.freeserve.co.uk/freestuf.htm

is what I was refering too. It was good until I noticed all the bugs
and tried TextPad. smile

new topic     » goto parent     » topic index » view message » categorize

7. Re: Meditor update for foreing caracters

On Tue, 23 Nov 2004 09:23:49 +1100, Patrick Barnes <mrtrick at gmail.com>
wrote:

>Pete,
>
>I keep getting errors when Meditor is running, and I try to open
>another file. (Expected action: either opening it within the first
>instance of Meditor, or a new instance opening with that file)
>
>d:\Euphoria\MEDIT\ipc.ew:198 in function AllocateSharedObject() 
>A machine-level exception occurred during execution of this statement 
><SNIP>
>... called from d:\Euphoria\MEDIT\ipc.ew:309 in function CallProcedure()  
><SNIP>
>... called from d:\Euphoria\MEDIT\ipc.ew:318 in function ipc_CallFunc()  
><SNIP>
>... called from d:\Euphoria\MEDIT\editor.exw:4178 in procedure main()  
><SNIP>
>
>I'm using the 02/09/04 version, on windows XP. Can you reproduce this error?
Not exactly, or repeatably.
I don't normally open files this way, I just now got a machine
exception in ipc, but in decompress(). The next ten times I tried it
worked fine. Are you getting this every time, or intermittently?

I can tell you that if you uncheck single instance on the options menu
(and close the editor) it shouldn't go near ipc.ew, if that helps.

I didn't write ipc.ew, so I'm not sure if I can fix this one.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

8. Re: Meditor update for foreing caracters

Yep, it no longer crashes now... although it'd be nice if it could do
the single-instance thing.

The other thing, whenever I try and drag-n-drop a file into the
editor, it gives me a dialog error: "can't open file: $box_char",
where $box_char is that rectangle that shows when your computer
doesn't know how to render the char in that font.
Upon clicking Ok, it opens the file correctly, and gives me an open file dialog.

Do you know what's causing the issue with position? I keep having my
editor window moved to some ridiculous position like -32000 -32000 or
something... I'm guessing you do that when a program is run, and
restore it on finish? Either way, sometimes it doesn't work, and I'm
stuck with a window that's maximised or nothing. (Gotta go into the
ini file to fix it)

Last but not least... how is it that 'parse for context sensitive
help' is stored? It keeps forgetting....




On Tue, 23 Nov 2004 02:44:06 +0000, Pete Lomax
<petelomax at blueyonder.co.uk> wrote:
> 
> On Tue, 23 Nov 2004 09:23:49 +1100, Patrick Barnes <mrtrick at gmail.com>
> wrote:
> 
> 
> >Pete,
> >
> >I keep getting errors when Meditor is running, and I try to open
> >another file. (Expected action: either opening it within the first
> >instance of Meditor, or a new instance opening with that file)
> >
> >d:\Euphoria\MEDIT\ipc.ew:198 in function AllocateSharedObject()
> >A machine-level exception occurred during execution of this statement
> ><SNIP>
> >... called from d:\Euphoria\MEDIT\ipc.ew:309 in function CallProcedure()
> ><SNIP>
> >... called from d:\Euphoria\MEDIT\ipc.ew:318 in function ipc_CallFunc()
> ><SNIP>
> >... called from d:\Euphoria\MEDIT\editor.exw:4178 in procedure main()
> ><SNIP>
> >
> >I'm using the 02/09/04 version, on windows XP. Can you reproduce this error?
> Not exactly, or repeatably.
> I don't normally open files this way, I just now got a machine
> exception in ipc, but in decompress(). The next ten times I tried it
> worked fine. Are you getting this every time, or intermittently?
> 
> I can tell you that if you uncheck single instance on the options menu
> (and close the editor) it shouldn't go near ipc.ew, if that helps.
> 
> I didn't write ipc.ew, so I'm not sure if I can fix this one.
> 
> 
> Regards,
> Pete
> 
> 
> 
> 


-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

9. Re: Meditor update for foreing caracters

Hi Pete,

         The version is 02/09/04 2.0.8.
         When you type any symbol greater than 127, only shows the famous 
"empty box"(nul?) caracter.
         Try with any symbol bigger than 127 and you will get the same results.


Rubens

At 16:50 22/11/2004, you wrote:
>
>
>On Mon, 22 Nov 2004 10:40:44 -0200, Rubens Monteiro Luciano
><rml at rubis.trix.net> wrote:
>
> >Hi Pete,
> >
> >
> >       Any chance of a Meditor update to accept foreing caracters  ?
> >
>I thought it already did allow foreign characters.
>What version are you currently using? (See Help, About).
>It is quite possible I messed up on the last release (02/09/04).
>
>Note that you won't be able to use foreign characters in variable
>names, etc, since the Euphoria interpreter rejects them.
>
>Perhaps, dumb as it may sound, I need a quick example (or two) to
>confirm precisely what it is you are asking for.
>
>Regards,
>Pete
>
>
>

new topic     » goto parent     » topic index » view message » categorize

10. Re: Meditor update for foreing caracters

On Tue, 23 Nov 2004 10:39:56 -0200, Rubens Monteiro Luciano
<rml at rubis.trix.net> wrote:

>
>
>Hi Pete,
>
>         The version is 02/09/04 2.0.8.
>         When you type any symbol greater than 127, only shows the famous 
>"empty box"(nul?) caracter.
>         Try with any symbol bigger than 127 and you will get the same results.
I guess I messed up on the last release then, and you're the first
person to notice. It works fine here. Maybe in the last 80 days or so
I fixed some innocuous-looking bug on my internal system. I'll get a
new version out in a few days.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

11. Re: Meditor update for foreing caracters

Thanks Pete.

Rubens

At 12:26 23/11/2004, you wrote:
>
>
>On Tue, 23 Nov 2004 10:39:56 -0200, Rubens Monteiro Luciano
><rml at rubis.trix.net> wrote:
>
> >
> >Hi Pete,
> >
> >         The version is 02/09/04 2.0.8.
> >         When you type any symbol greater than 127, only shows the famous
> >"empty box"(nul?) caracter.
> >         Try with any symbol bigger than 127 and you will get the same 
> results.
>I guess I messed up on the last release then, and you're the first
>person to notice. It works fine here. Maybe in the last 80 days or so
>I fixed some innocuous-looking bug on my internal system. I'll get a
>new version out in a few days.
>
>Regards,
>Pete
>
>
>

new topic     » goto parent     » topic index » view message » categorize

12. Re: Meditor update for foreing caracters

On Tue, 23 Nov 2004 13:55:20 +1100, Patrick Barnes <mrtrick at gmail.com>
wrote:

>
>Yep, it no longer crashes now... although it'd be nice if it could do
>the single-instance thing.
Can you elaborate on the bug you found in ipc.ew?
>
>The other thing, whenever I try and drag-n-drop a file into the
>editor, it gives me a dialog error: "can't open file: $box_char",
>where $box_char is that rectangle that shows when your computer
>doesn't know how to render the char in that font.
>Upon clicking Ok, it opens the file correctly, and gives me an open file
>dialog.
Thanks for reporting this. The problem was that w32HDragAndDrop sends
three messages, the number of files about to be passed, the file(s)
themselves, and a terminating empty sequence. I obviously didn't read
the documentation properly, and was attempting to open all three; it's
fixed now blink) I'll let you know when a new version is uploaded.
>
>Do you know what's causing the issue with position? I keep having my
>editor window moved to some ridiculous position like -32000 -32000 or
>something... I'm guessing you do that when a program is run, and
>restore it on finish? Either way, sometimes it doesn't work, and I'm
>stuck with a window that's maximised or nothing. (Gotta go into the
>ini file to fix it)
Thanks for reporting this. It was saving the window position when the
window was minimized (doh). It's fixed now.
>
>Last but not least... how is it that 'parse for context sensitive
>help' is stored? It keeps forgetting....
Bad design ;-(( It dumps the info into glocals.exh and/or
win32lib.exh. These files are kept in the same directory as
editor.exw, and are scratched every time parse for globals is run. 
Along with the hand-written builtins.exh they are loaded once, at
editor start-up. This info would be much better off being stored in an
edb file (or three).

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

13. Re: Meditor update for foreing caracters

Good to see someone's on the ball. smile
A final thing... often it will crash when I'm doing something simple,
like close a window, or start a new one, or something... Can't quite
pinpoint the cause. Perhaps some more active bounds checking would be
a good idea?

On Tue, 23 Nov 2004 15:12:25 +0000, Pete Lomax
<petelomax at blueyonder.co.uk> wrote:
> >Yep, it no longer crashes now... although it'd be nice if it could do
> >the single-instance thing.
> Can you elaborate on the bug you found in ipc.ew?

I don't think the bug would affect meditor, it's more of a concurrency
issue. However, seeing as I haven't seen PatRat around, I'm going to
try and rewrite ipc.ew. Maybe it'll fix those troubles. smile


-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

14. Re: Meditor update for foreing caracters

Sorry, this got lodged in my outbox by ISP mail server upgrade.

On Wed, 24 Nov 2004 10:31:52 +1100, Patrick Barnes <mrtrick at gmail.com>
wrote:

>A final thing... often it will crash when I'm doing something simple,
>like close a window, or start a new one, or something... Can't quite
>pinpoint the cause. Perhaps some more active bounds checking would be
>a good idea?
About one in a hundred times, if that, it shuts down, no error, no
ex.err, when opening a file (via Ctrl O). If you can reproduce this
under trace(3) that might be a big help, since I can't.

>> Can you elaborate on the bug you found in ipc.ew?
>
>I don't think the bug would affect meditor, it's more of a concurrency
>issue. However, seeing as I haven't seen PatRat around, I'm going to
>try and rewrite ipc.ew. Maybe it'll fix those troubles. smile
OK, on that basis I'll set about repackaging MEditor as is. I'm going
to add a "Window" menu, sorted by name/last mod/tab order first, and
I'll repackage with your improved ipc.ew later.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu