1. Edita 0.0.8

Edita 0.0.8 released:
http://palacebuilders.pwp.blueyonder.co.uk/edita.htm

Added support for drag and drop files.

Added single instance handling and open file(s) specified on command 
line.

Now checks for files needing saving before close.

Rewrote menus and added translation (see eatext_de.e and eatext_en.e)
Language choice is based on control panel, regional settings (see also
eaxlate.e).

Made the horizontal and vertical scrollbars attach to the edit area, 
not the entire window. Added "Permanent Scrollbars" option to reduce 
screen flicker when switching tabs. If this is set, the horizontal and
vertical scroll bars, if in use, remain visible, so the window does 
not need a full repaint when switching between long/wide sources and 
short/narrow ones.

Added most of the code for Run (F5), but...

Rewrote capture console output code as discussed on EUforum.
 [I seriously lost the plot here.
  a) ex vs exw vs exwc...
  b) crashes on 2.4 exwc if a gui program...
  c) think I need to start project management to finish this off
  Running a gui program on exwc (2.4) has problems... See:
  --DEV Pete's test for running 2.5 (on C:) not 2.4 (on E:):
  in eacons.ew, and -- WARNING: ReadFile may crash on 2.4:
  in eacons.exw. It works alot better on 2.5 (exwc) than 2.4.
  I will be grateful for any help/full test in this area blink)
  d) I may have made some desperate/wrong choices here! ]

BUGFIX: undo/redo of (un)comment/indent always applied to line 1.

Completed tab context menu and associated directory handling.

Added Ctrl Shift PageUp/Down to re-order file tabs.
 (but gave up on the [minor] screen flicker issue)

Added I-Beam cursor when over edit area.

Edita now opens readme.txt when it is first installed (ie no edita.ini
file)

Completed line length handling (for the horizontal scrollbar).

Regards,
Pete

new topic     » topic index » view message » categorize

2. Re: Edita 0.0.8

Hi again Pete,


Looks like it's coming along nicely.  Here are a few notes that might help...


1.  Couldnt run the program because it would exit in file 'easinst.ew' line 29.
After i remmed this line out ie 'abort(0)' changed to '--abort(0)' it ran
    ok.
I ended up enumerating all the 'abort(0)' calls with ?1, ?2, ?3, etc
    followed by
'sleep(1)' so i would know where the program was aborting (the number would
    print out
    which would correlate to the particular abort call).  In other words:

    ?3 --typical
    sleep(1)
    abort(0)

2.  Cant find the 'column mode' text selection option which was working last
version.

3.  The only way to activate the upper window (with message area open) seems to
be to
    operate the scrollbar at least once.  The mouse click doesnt help sometimes.

4.  Sometimes typing at the end of the line until the caret reaches the vert
scrollbar
causes a caret to be permanently shown at the end of the line until some
    window
    update erases it.  This is rather superficial however because it doesnt seem
    to hurt anything else.

I havent tested everything yet, but at least this is a start right?


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"


Pete Lomax wrote:
> 
> Edita 0.0.8 released:
> <a
> href="http://palacebuilders.pwp.blueyonder.co.uk/edita.htm">http://palacebuilders.pwp.blueyonder.co.uk/edita.htm</a>
> 
> Added support for drag and drop files.
> 
> Added single instance handling and open file(s) specified on command 
> line.
> 
> Now checks for files needing saving before close.
> 
> Rewrote menus and added translation (see eatext_de.e and eatext_en.e)
> Language choice is based on control panel, regional settings (see also
> eaxlate.e).
> 
> Made the horizontal and vertical scrollbars attach to the edit area, 
> not the entire window. Added "Permanent Scrollbars" option to reduce 
> screen flicker when switching tabs. If this is set, the horizontal and
> vertical scroll bars, if in use, remain visible, so the window does 
> not need a full repaint when switching between long/wide sources and 
> short/narrow ones.
> 
> Added most of the code for Run (F5), but...
> 
> Rewrote capture console output code as discussed on EUforum.
>  [I seriously lost the plot here.
>   a) ex vs exw vs exwc...
>   b) crashes on 2.4 exwc if a gui program...
>   c) think I need to start project management to finish this off
>   Running a gui program on exwc (2.4) has problems... See:
>   --DEV Pete's test for running 2.5 (on C:) not 2.4 (on E:):
>   in eacons.ew, and -- WARNING: ReadFile may crash on 2.4:
>   in eacons.exw. It works alot better on 2.5 (exwc) than 2.4.
>   I will be grateful for any help/full test in this area blink)
>   d) I may have made some desperate/wrong choices here! ]
> 
> BUGFIX: undo/redo of (un)comment/indent always applied to line 1.
> 
> Completed tab context menu and associated directory handling.
> 
> Added Ctrl Shift PageUp/Down to re-order file tabs.
>  (but gave up on the [minor] screen flicker issue)
> 
> Added I-Beam cursor when over edit area.
> 
> Edita now opens readme.txt when it is first installed (ie no edita.ini
> file)
> 
> Completed line length handling (for the horizontal scrollbar).
> 
> Regards,
> Pete
> 
>

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

3. Re: Edita 0.0.8

On Tue, 01 Mar 2005 10:52:35 -0800, Al Getz <guest at RapidEuphoria.com>
wrote:

>Looks like it's coming along nicely.  Here are a few notes that might help...
>
>1.  Couldnt run the program because it would exit in file 'easinst.ew' line 29.
>    After i remmed this line out ie 'abort(0)' changed to '--abort(0)' it ran
>    ok.
Ah, it has found a window with a title beginning "Edita", and just
blindly assumed it really is edita, already running, and not eg a
cascaded/tiled window editing Edita.exw. I've made it send a message
to any window it finds and only abort like that if it gets the right
response.

>
>2.  Cant find the 'column mode' text selection option which was working last
>version.
Press and hold the Alt key when selecting for column mode.

>
>3.  The only way to activate the upper window (with message area open) seems to
>be to
>    operate the scrollbar at least once.  The mouse click doesnt help
>    sometimes.
Thanks. It is also not restoring the I-Beam cursor. I'll look into it.

>
>4.  Sometimes typing at the end of the line until the caret reaches the vert
>scrollbar
>    causes a caret to be permanently shown at the end of the line until some
>    window
>    update erases it.  This is rather superficial however because it doesnt
>    seem
>    to hurt anything else.
It doesn't appear to be scrolling properly here. I'll look into it.

Regards,
Pete

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

4. Re: Edita 0.0.8

Pete Lomax wrote:

> Edita 0.0.8 released:
> http://palacebuilders.pwp.blueyonder.co.uk/edita.htm
>
> Added support for drag and drop files.

Nice.

> Added single instance handling and open file(s) specified on command
> line.

Much appreciated. This doesn't work as I would expect, though. E.g.:

I called:  exw edita.exw readme.txt
--> Edita opens 'edita.exw' AND 'readme.txt'.
'edita.exw' shouldn't be opened at all.

Then I closed edita, and called: exw edita.exw eamisc.e
--> Edita opens 'edita.exw', 'readme.txt' AND 'eamisc.e'.
This is confusing for me, I would expect edita to open only the file(s)
given on the command-line, not files that have been opened previously.

> Now checks for files needing saving before close.
>
> Rewrote menus and added translation (see eatext_de.e and eatext_en.e)
> Language choice is based on control panel, regional settings (see also
> eaxlate.e).

In 'eatext_en.e' it reads: "Entries should be kept [English] alphabetical."
I'd like to suggest to change this, and arrange the entries in groups
instead, like this:

-- Main menu, File
"File" = "&File"
"New\t(Ctrl N)"	= "&New\t(Ctrl N)"
"Open\t(Ctrl O)" = "&Open\t(Ctrl O)"
...

-- Main menu, Edit
"Edit" = "&Edit"
"Undo\t(Ctrl Z)" = "Undo\t(Ctrl Z)"
"Redo\t(Ctrl Y)" = "Redo\t(Ctrl Y)"
...

I'm making this suggestion because a translator also can define the
accelerator keys used in the regarding language. When the entries are
arranged in groups, it is much easier to see which accelerator keys are
already used in the same menu or dialog box.

The 'eatext_*.e' files don't contain Euphoria source code. So it's
confusing to use the extension .e. Maybe you could use something like
.txt, .ini or .lng?

> Made the horizontal and vertical scrollbars attach to the edit area,
> not the entire window. Added "Permanent Scrollbars" option to reduce
> screen flicker when switching tabs. If this is set, the horizontal and
> vertical scroll bars, if in use, remain visible, so the window does
> not need a full repaint when switching between long/wide sources and
> short/narrow ones.

I see. What I don't understand is why there is the 'vertical scrollbar'
option. When all lines fit into the window, a vertical scrollbar isn't
necessary -- when there are more lines, a vertical scrollbar should be
there.
The horizontal scrollbar is somewhat different. From the point of view
of the user, the primary question is IMHO, whether or not s/he wants
word wrap. This depends mainly on the kind of text in the regarding
window. E.g. reading/editing program source code, I never want word wrap,
but reading/editing "normal" text like this, I always want word wrap.
When there is no word wrap, then the horizontal scrollbar should behave
the same way like the vertical scrollbar. When there is word wrap, no
horizontal scrollbar is needed at all.
So I'd like to suggest to remove the 'Horizontal Sroll bar' and
'Vertical Sroll bar' entries in the 'Options' menu, and add a 'Word wrap'
option instead.

> Added most of the code for Run (F5), but...
>
> Rewrote capture console output code as discussed on EUforum.
>  [I seriously lost the plot here.
>   a) ex vs exw vs exwc...

.. and capturing STDOUT vs capturing STDERR, on Win 98 vs Win XP etc.
This is actually hard stuff. I had posted some experiences with ConTEXT
(don't know whether it is helpful for you):
http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=A&fromYear=9&toMonth=A&toYear=9&postedBy=&keywords=%222004+Oct+12+23%3A13%22

>   b) crashes on 2.4 exwc if a gui program...
>   c) think I need to start project management to finish this off
>   Running a gui program on exwc (2.4) has problems... See:
>   --DEV Pete's test for running 2.5 (on C:) not 2.4 (on E:):
>   in eacons.ew, and -- WARNING: ReadFile may crash on 2.4:
>   in eacons.exw. It works alot better on 2.5 (exwc) than 2.4.
>   I will be grateful for any help/full test in this area blink)
>   d) I may have made some desperate/wrong choices here! ]
>
> BUGFIX: undo/redo of (un)comment/indent always applied to line 1.

When I had cut a *block* of text, 'Undo' doesn't work correctly.
BTW: In the Edit menu/Context menu, there is no 'Delete' option.

Thanks for all your efforts!

Regards,
   Juergen

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

5. Re: Edita 0.0.8

Pete Lomax wrote:
> >2.  Cant find the 'column mode' text selection option which was working last
> >version.
> Press and hold the Alt key when selecting for column mode.
> 

Oh ok he he, i'll try it...thanks...


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

6. Re: Edita 0.0.8

Hi again Pete,

Ok i tried the Alt key to do column select.  It works ok i guess,
but now it's maximum column width is determined by the last selected
line, which limits the entire selection (unlike the first line selected).

For example, if you try to use column mode on the following three lines
where you select starting at the first line first column and try to
select the entire set of three lines (all chars):

line one
line two
line 3

you can only select this:

line o
line t
line 3

Because the last line only has 6 chars in it, once selected with the
first two lines, it limits the column width to 6 chars, which isnt good.

The top line doesnt affect it, which is nice, but the bottom
(last line selected) affects the width, and it shouldnt, just
as the top line doesnt.

If anything affects the max width, it should be the longest line in
the selected group.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

7. Re: Edita 0.0.8

On Wed, 02 Mar 2005 09:29:58 -0800, Al Getz <guest at RapidEuphoria.com>
wrote:

>Ok i tried the Alt key to do column select.  It works ok i guess,
<snip>
Got the idea, thanks.
I've added some experimental code which seems OK. See also my post to
JL.

Regards,
Pete

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

8. Re: Edita 0.0.8

<<BTW, I'll be offline for at least four days, sorry.>>

On Wed, 02 Mar 2005 13:37:04 +0100, Juergen Luethje <j.lue at gmx.de>
wrote:

>> Added single instance handling and open file(s) specified on command
>> line.
>
>Much appreciated. This doesn't work as I would expect, though. E.g.:
>
>I called:  exw edita.exw readme.txt
>--> Edita opens 'edita.exw' AND 'readme.txt'.
>'edita.exw' shouldn't be opened at all.
OK, I'm going to assume "edita.exw" was opened as a prior file, not
because it was 2nd on the command line, see below.

>Then I closed edita, and called: exw edita.exw eamisc.e
>--> Edita opens 'edita.exw', 'readme.txt' AND 'eamisc.e'.
>This is confusing for me, I would expect edita to open only the file(s)
>given on the command-line, not files that have been opened previously.

That's the way MEditor always worked:

You can change this behaviour by changing
  Restore Files On Open = 1
to 0 in edita.ini

I don't see how I can improve on this.

>> Rewrote menus and added translation (see eatext_de.e and eatext_en.e)
>> Language choice is based on control panel, regional settings (see also
>> eaxlate.e).
>
>In 'eatext_en.e'
>I'd like to suggest to change this, and arrange the entries in groups
<snip>
OK, I've done this (new version maybe Monday, sorry, I'm off visiting
family and it's all broken at the mo, see below.) The new files will
be called ealng_de.txt and ealng_en.txt.

<snip>
>What I don't understand is why there is the 'vertical scrollbar'
>option. When all lines fit into the window, a vertical scrollbar isn't
>necessary -- when there are more lines, a vertical scrollbar should be
>there.
You should therefore be happy with Vertical scrollbar=Yes and
Permanent Scrollbar=No.
>The horizontal scrollbar is somewhat different. From the point of view
>of the user, the primary question is IMHO, whether or not s/he wants
>word wrap. This depends mainly on the kind of text in the regarding
>window. E.g. reading/editing program source code, I never want word wrap,
>but reading/editing "normal" text like this, I always want word wrap.
>When there is no word wrap, then the horizontal scrollbar should behave
>the same way like the vertical scrollbar. When there is word wrap, no
>horizontal scrollbar is needed at all.
>So I'd like to suggest to remove the 'Horizontal Sroll bar' and
>'Vertical Sroll bar' entries in the 'Options' menu, and add a 'Word wrap'
>option instead.
What you are saying is that wordwrap should be dependant on the file
extension (which syntax files already are). I need to "wrap" my head
round that (scnr).

I feel you are expressing a personal preference here. I am not about
to remove the H/V scrollbar options, or the Permanent option, since it
is my personal preference they remain. But I might move them to a
sub-menu/as yet unthought-of options dialog.

You are, or at least to appear to be, asking for "Word wrap", to
replace these options, but only on certain files...

FWIW, my preferences are:
1) reduce screen flicker to the absolute minimum (and don't
underestimate that). [I only care about normal use, not eg resize]
2) I very rarely use scrollbars anyway (but would miss them)
3) I do my own wordwrap (OK, I'm in the minority there)
4) but I will strive to support anyone else's wishes/preferences.

>.. and capturing STDOUT vs capturing STDERR, on Win 98 vs Win XP etc.
>This is actually hard stuff. I had posted some experiences with ConTEXT
<snip>
Yes, I saw that. Now if only I had the sources of ConTEXT, presumably
I could then see precisely how *NOT* to do it <! ! I'm joking ! ! blink>

>When I had cut a *block* of text, 'Undo' doesn't work correctly.

OWWW!!!
========
Yes, it all goes pear-shaped under column selection.
BIG, BIG, massive rethink. Well, I once had a BIG problem with block
indent/unindent, which I managed to get over. I think I need to make
_HUGE_ changes internally, at least logically. Don't expect a fix for
at least five days. But I suppose I should thank you for finding it
now, not later.

>BTW: In the Edit menu/Context menu, there is no 'Delete' option.
Suggestion added

Regards,
Pete

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

9. Re: Edita 0.0.8

On Thu, 03 Mar 2005 00:46:50 +0000, Pete Lomax
<petelomax at blueyonder.co.uk> wrote:

><<BTW, I'll be offline for at least four days, sorry.>>
I've posted 0.0.9, Back on Sunday

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu