[ANN] RDE 1.0.0 released

Hi Sakazuki,

thanks for your reply.

> * if I put my cursor on 'self' the 'e' and 'f' are
highlighted, weird.
> (also happens with various other combinations of adjacent letters)

Have you installed RDE1.0.0beta3 version ? I had added
FindMark property
in 'Editor Property' form temporary, and I had hided it in RDE1.0.0.
Maybe this property is checked in the registry.

No, as I said, this was my first installation ever. The about box says
"VERSION: 1.0.0.0". No hint on a beta version.

I could not find "FindMark" or something similar in the options. I also
tried to find that in the registry but there is only one big binary
value that seems to contain all settings.
(will it solve my problem if I delete the whole thing?)

> * if a word starts with 's' it gets underlined?? why?
> (even inside strings)

Maybe it is a FindMark.

So it's related to the problem above?

> * I found at least 3 different dialogs that seem to define the
> colouring of the main edit view (and nowhere found the underline)

Yes, I hide FindMark in RDE1.0.0, it exists in beta3

again, I'm pretty sure I downloaded the release version.

Tool->Editor Property->Color
Tool->Editor Property->Fountain
Tool->Editor Property->(Button Detail...)->View Marks

seems all related to the colours in the main editor, right?
Sorry I have never seen this Fountain stuff before, I'm not playing
dumb here (perhaps I am)...

> * if there is a unsaved file and I want to exit, the dialog box has
> the following options: ??(Y), ???(N), ???

Please set English_1000.xml or else in [Options] - [Config File] -
[TranslationFile].

The entry was empty:
English_1000.xml - ??(Y), ???(N), ???
EnglishA_0991.xml - Yes, No, Cancel
German_09xx.xml - ??(Y), ???(N), ???
German_0990.xml - Ja, Nein, Abbrechen

Ok, kind of solved for me.
Are all these file in the 1.0.0.0 package?
Is RDE bundled with any other Software? Maybe it was installed before
without my knowledge?

> * the debuger fails on
>
> ...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
>
> I haven't looked any further yet, rubygems should be there (gem
> install works)
>

Check that the same errors occur, when you run the target script with
debugger on console.

Yes, I think so, it's probably not RDE's fault. Nevertheless, as this
is a windows only package it would be realy, realy great if using the
one-click-installer + RDE installer would lead to a working system!

> * ah, I tried Menu->Ruby->EndOfDefun, now all 'end's are underlined,
> still have no clue (but the words starting with 's' are
normal now)

FindMark works....

Erm, yes, again I'm not acting the fool, I just wan't to remove/hide
this underline. Please tell me how.

> * Some menu items have strange names (like the EndOfDefun above)

Please suggest the naming them in English.
You can also rewrite them in TranslationFile.

Besides the strange underlining they seem to move the cursor to the
next start/end of a block/method. Is this the (whole) suspected
behaviour?
(I can't make sense of the last 3 entries in the 'ruby' menu)

This menu try to open http://rubyde.sourceforge.net/hiki/en/\.
On my PC, this works well.
If this don't work well, All menus in [Help] except 'Ruby Help' will
not work well.

This worked on another pc(WinXP) with mozilla, firefox does not start
here (Win2000). Can you give me a hint where to look? (double-click on
a htm/html file works fine)

FindMark setting in registry make the problems.
Please check off FindMark setting by beta3.

I have to install beta3 do uncheck this setting?

I just renamed the whole RubyDE key in the registry editor, when
I start RDE it shows me the configuration dialog and all the problems
are still there. So I guess it has nothing to do with another (older)
version.

Don't get me wrong. I would realy like to use your editor and (again)
it looks promissing - in fact it looks better than all the others
clogging my recycle bin...

cheers

Simon

I am another guy looking to desactivate the underline thing :-). Couldn't find it so far.

Maybe somebody that was able to change it will drop us a hint. Hopefully :-).

thanks

./alex

···

--
.the_mindstorm.

#: Kroeger Simon (ext) changed the world a bit at a time by saying on 9/26/2005 12:12 PM :#

Hi Sakazuki,

thanks for your reply.

> * if I put my cursor on 'self' the 'e' and 'f' are highlighted, weird.
> (also happens with various other combinations of adjacent letters)

Have you installed RDE1.0.0beta3 version ? I had added FindMark property in 'Editor Property' form temporary, and I had hided it in RDE1.0.0.
Maybe this property is checked in the registry.

No, as I said, this was my first installation ever. The about box says
"VERSION: 1.0.0.0". No hint on a beta version.

I could not find "FindMark" or something similar in the options. I also
tried to find that in the registry but there is only one big binary value that seems to contain all settings.
(will it solve my problem if I delete the whole thing?)

> * if a word starts with 's' it gets underlined?? why?
> (even inside strings)

Maybe it is a FindMark.

So it's related to the problem above?

> * I found at least 3 different dialogs that seem to define the
> colouring of the main edit view (and nowhere found the underline)

Yes, I hide FindMark in RDE1.0.0, it exists in beta3

again, I'm pretty sure I downloaded the release version.

Tool->Editor Property->Color
Tool->Editor Property->Fountain
Tool->Editor Property->(Button Detail...)->View Marks

seems all related to the colours in the main editor, right?
Sorry I have never seen this Fountain stuff before, I'm not playing
dumb here (perhaps I am)...

> * if there is a unsaved file and I want to exit, the dialog box has
> the following options: ??(Y), ???(N), ???

Please set English_1000.xml or else in [Options] - [Config File] -
[TranslationFile].

The entry was empty:
English_1000.xml - ??(Y), ???(N), ???
EnglishA_0991.xml - Yes, No, Cancel
German_09xx.xml - ??(Y), ???(N), ???
German_0990.xml - Ja, Nein, Abbrechen

Ok, kind of solved for me.
Are all these file in the 1.0.0.0 package?
Is RDE bundled with any other Software? Maybe it was installed before
without my knowledge?

> * the debuger fails on > > ...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
> > I haven't looked any further yet, rubygems should be there (gem > install works)
>

Check that the same errors occur, when you run the target script with
debugger on console.

Yes, I think so, it's probably not RDE's fault. Nevertheless, as this
is a windows only package it would be realy, realy great if using the one-click-installer + RDE installer would lead to a working system!

> * ah, I tried Menu->Ruby->EndOfDefun, now all 'end's are underlined,
> still have no clue (but the words starting with 's' are normal now)

FindMark works....

Erm, yes, again I'm not acting the fool, I just wan't to remove/hide
this underline. Please tell me how.

> * Some menu items have strange names (like the EndOfDefun above)

Please suggest the naming them in English. You can also rewrite them in TranslationFile.

Besides the strange underlining they seem to move the cursor to the
next start/end of a block/method. Is this the (whole) suspected
behaviour?
(I can't make sense of the last 3 entries in the 'ruby' menu)

This menu try to open http://rubyde.sourceforge.net/hiki/en/\.
On my PC, this works well. If this don't work well, All menus in [Help] except 'Ruby Help' will
not work well.

This worked on another pc(WinXP) with mozilla, firefox does not start here (Win2000). Can you give me a hint where to look? (double-click on
a htm/html file works fine)

FindMark setting in registry make the problems.
Please check off FindMark setting by beta3.

I have to install beta3 do uncheck this setting?

I just renamed the whole RubyDE key in the registry editor, when
I start RDE it shows me the configuration dialog and all the problems
are still there. So I guess it has nothing to do with another (older)
version.

Don't get me wrong. I would realy like to use your editor and (again) it looks promissing - in fact it looks better than all the others
clogging my recycle bin...

cheers

Simon

Kroeger Simon (ext) wrote:

Hi Sakazuki,

thanks for your reply.

[some minor snippage]

cheers

Simon

In summary, the author has recognized that you have an
option enabled which only could have been enabled from
one of the beta versions. In the final release, the
checkbox has been hidden, so it can't be accessed via
the Editor Properties tab to enable OR disable it.
Please continue this debate with the other user(s)
of your machine :wink:

Meanwhile, here's what's up in the Windows registry:

In Regedit - this branch:
HKEY_CURRENT_USER\Software\RubyDE\TEditor\EditorProp
has the binary type subkey 'EditorProp' within that.

<<This option is *not* recommended because there's a
possibility of INSERTING a byte which will cause
some kind of crash in RDE, at least>>
You could fish about for (Modify) the string:
  'ExMarks.FindMark.Visible'
- which is directly followed by a single-byte value.
An EVEN value signifies Off, ODD signifies On (set).
If ODD, it needs to have a value ONE LOWER.
<<.../>>.

-OR- (perhaps the safest way)

You could rename the key like you did with the other
one. RDE should rebuild it, so all settings will
revert to their defaults.

-OR- (for the adventurous)

This script ought to do it ...
(assumes you have the necessary authorisation):

Use at your own risk, of course, but I've used
it to set and reset the flag and compared the
registry exports before and after.
Care has been taken to do *nothing* rather
than cause harm.
Any other changes you have made will be preserved.

I imagine Sakazuki-san will be very nervous
if/when he sees this (... understandably).
Your software warranty may be invalidated :-)))

···

#=================================================#
# RDE_FindMark_reset.rb #
# #
## Warning: Updates the system registry ... ##
## Backup the registry first, for safety ... ##
## Do NOT run while RDE is open ##
## (i.e. RDE writes to the registry on close ) ##

require 'win32/registry' # standard library
ACC = Win32::Registry::Constants::KEY_ALL_ACCESS

RDE_branch = 'Software\RubyDE\TEditor\EditorProp'
RDE_Ed_key = 'EditorProp'
property = 'ExMarks.FindMark.Visible'

Win32::Registry::HKEY_CURRENT_USER.open(RDE_branch, ACC) do |reg|
  reg_typ, reg_val = reg.read(RDE_Ed_key)
  chg = false
  if ( pos = reg_val.index(property) )
    pos += property.length
    ck = [reg_val.length, reg_val.hash, reg_val[pos]]
    reg_val[pos] &= ~1 # RESET Property
    if ( ck[0] == reg_val.length ) and ( ck[1] != reg_val.hash )
      # Update registry value
      reg.write(RDE_Ed_key, reg_typ, reg_val)
      chg = true
    end
  end
  if chg
    puts '%s property changed to %02x (from %02x)' %
            [property, reg_val[pos], ck[2]]
  else
    puts 'Property not found /or/ not changed'
  end
  print 'Press <RETURN/ENTER> ... '
  STDOUT.flush
  STDIN.gets
end
#=================================================#

To run:
  Double-click from Explorer should do it (?)

the long way (from command line):

   C:\WINDOWS> cd D:\ruby\RDE\TEMP
   C:\WINDOWS> D:
   D:\ruby\RDE\TEMP> ruby RDE_FindMark_reset.rb
   ExMarks.FindMark.Visible property changed to 08 (from 09)
   D:\ruby\RDE\TEMP>

daz

Hi Simon

> > * if I put my cursor on 'self' the 'e' and 'f' are
> highlighted, weird.
> > (also happens with various other combinations of adjacent letters)
>
> Have you installed RDE1.0.0beta3 version ? I had added
> FindMark property
> in 'Editor Property' form temporary, and I had hided it in RDE1.0.0.
> Maybe this property is checked in the registry.

No, as I said, this was my first installation ever. The about box says
"VERSION: 1.0.0.0". No hint on a beta version.

Ok, maybe, something bug is there. I will try to find and fix them.

The entry was empty:
English_1000.xml - ??(Y), ???(N), ???
EnglishA_0991.xml - Yes, No, Cancel
German_09xx.xml - ??(Y), ???(N), ???
German_0990.xml - Ja, Nein, Abbrechen

Ok, kind of solved for me.
Are all these file in the 1.0.0.0 package?
Is RDE bundled with any other Software? Maybe it was installed before
without my knowledge?

Yes, these are included in .exe installer version.
But in first .zip distribution, they are not included. So I replaced
.zip version a few minutes ago.

> > * Some menu items have strange names (like the EndOfDefun above)
>
> Please suggest the naming them in English.
> You can also rewrite them in TranslationFile.

Besides the strange underlining they seem to move the cursor to the
next start/end of a block/method. Is this the (whole) suspected
behaviour?

Case by case. These logic is beased on ruby-mode.el (old version)
but I can not test them enough.

(I can't make sense of the last 3 entries in the 'ruby' menu)

IndentCommand
  Cariculate and set indent in a current row or selection range.
IndentReturnIndent
  IndentCommand & Input Enter & IndentCommand
IndentReturnEasyParseIndent
  IndentCommand & Input Enter & EasyParse & IndentCommand

> This menu try to open http://rubyde.sourceforge.net/hiki/en/\.
> On my PC, this works well.
> If this don't work well, All menus in [Help] except 'Ruby Help' will
> not work well.

This worked on another pc(WinXP) with mozilla, firefox does not start
here (Win2000). Can you give me a hint where to look? (double-click on
a htm/html file works fine)

I used ShellExecute Windows API. This API launch related application.
I found the PC that RDE's helps are not work well. I will research this.

> FindMark setting in registry make the problems.
> Please check off FindMark setting by beta3.

I have to install beta3 do uncheck this setting?

I just renamed the whole RubyDE key in the registry editor, when
I start RDE it shows me the configuration dialog and all the problems
are still there. So I guess it has nothing to do with another (older)
version.

Don't get me wrong. I would realy like to use your editor and (again)
it looks promissing - in fact it looks better than all the others
clogging my recycle bin...

OK. I want to solve them.
Can you upload the screen capture ( underlined ) to url below
https://sourceforge.net/tracker/?func=add&group_id=42751&atid=435759

···

--
sakazuki <qzs01353@nifty.com>

thanks for your effort!

i tried your script, it says:

ExMarks.FindMark.Visible property changed to 08 (from 09)

and if i restart the underlines are gone. (Yeah!)

If i select Ruby->EndOfDefun or Ruby->BeginningOfDefun they are back.

So, hmm, i still think there is nothing to "debate with the other
user(s)" of my machine...

But thanks again, i guess we are getting closer!

cheers

Simon

daz wrote:

···

Kroeger Simon (ext) wrote:

Hi Sakazuki,

thanks for your reply.

[some minor snippage]

cheers

Simon

In summary, the author has recognized that you have an
option enabled which only could have been enabled from
one of the beta versions. In the final release, the
checkbox has been hidden, so it can't be accessed via
the Editor Properties tab to enable OR disable it.
Please continue this debate with the other user(s)
of your machine :wink:

Meanwhile, here's what's up in the Windows registry:

In Regedit - this branch:
HKEY_CURRENT_USER\Software\RubyDE\TEditor\EditorProp
has the binary type subkey 'EditorProp' within that.

<<This option is *not* recommended because there's a
possibility of INSERTING a byte which will cause
some kind of crash in RDE, at least>>
You could fish about for (Modify) the string:
  'ExMarks.FindMark.Visible'
- which is directly followed by a single-byte value.
An EVEN value signifies Off, ODD signifies On (set).
If ODD, it needs to have a value ONE LOWER.
<<.../>>.

-OR- (perhaps the safest way)

You could rename the key like you did with the other
one. RDE should rebuild it, so all settings will
revert to their defaults.

-OR- (for the adventurous)

This script ought to do it ...
(assumes you have the necessary authorisation):

Use at your own risk, of course, but I've used
it to set and reset the flag and compared the
registry exports before and after.
Care has been taken to do *nothing* rather
than cause harm.
Any other changes you have made will be preserved.

I imagine Sakazuki-san will be very nervous
if/when he sees this (... understandably).
Your software warranty may be invalidated :-)))

#=================================================#
# RDE_FindMark_reset.rb #
# #
## Warning: Updates the system registry ... ##
## Backup the registry first, for safety ... ##
## Do NOT run while RDE is open ##
## (i.e. RDE writes to the registry on close ) ##

require 'win32/registry' # standard library
ACC = Win32::Registry::Constants::KEY_ALL_ACCESS

RDE_branch = 'Software\RubyDE\TEditor\EditorProp'
RDE_Ed_key = 'EditorProp'
property = 'ExMarks.FindMark.Visible'

Win32::Registry::HKEY_CURRENT_USER.open(RDE_branch, ACC) do |reg|
  reg_typ, reg_val = reg.read(RDE_Ed_key)
  chg = false
  if ( pos = reg_val.index(property) )
    pos += property.length
    ck = [reg_val.length, reg_val.hash, reg_val[pos]]
    reg_val[pos] &= ~1 # RESET Property
    if ( ck[0] == reg_val.length ) and ( ck[1] != reg_val.hash )
      # Update registry value
      reg.write(RDE_Ed_key, reg_typ, reg_val)
      chg = true
    end
  end
  if chg
    puts '%s property changed to %02x (from %02x)' %
            [property, reg_val[pos], ck[2]]
  else
    puts 'Property not found /or/ not changed'
  end
  print 'Press <RETURN/ENTER> ... '
  STDOUT.flush
  STDIN.gets
end
#=================================================#

To run:
  Double-click from Explorer should do it (?)

the long way (from command line):

   C:\WINDOWS> cd D:\ruby\RDE\TEMP
   C:\WINDOWS> D:
   D:\ruby\RDE\TEMP> ruby RDE_FindMark_reset.rb
   ExMarks.FindMark.Visible property changed to 08 (from 09)
   D:\ruby\RDE\TEMP>

daz

Simon Kröger wrote:

If i select Ruby->EndOfDefun or Ruby->BeginningOfDefun they are back.

So, hmm, i still think there is nothing to "debate with the other
user(s)" of my machine...

Then I must get my apology in quickly. You've convinced me.

FWIW, I can't reproduce the same thing here, yet.

Regards,

daz

Hi. Simon.

## Hi daz, Thank you very much for your support.
## Your script is valid.

I released RDE 1.0.1 (a little bug fixed version).

Bugfix
* FindMark are drawn in some cases.
* GUI scripts does not work well
* combobox history is infnite in search and replace dialog
   (store 30 records)

Modify
* Define Escape key in any dialogs.

···

thanks for your effort!

i tried your script, it says:

ExMarks.FindMark.Visible property changed to 08 (from 09)

and if i restart the underlines are gone. (Yeah!)

If i select Ruby->EndOfDefun or Ruby->BeginningOfDefun they are back.

So, hmm, i still think there is nothing to "debate with the other
user(s)" of my machine...

But thanks again, i guess we are getting closer!

cheers

Simon

--
sakazuki <qzs01353@nifty.com>

Sorry, I found the problem these packages.
I cancelled this announce.

···

----- Original Message -----

Date: Wed, 28 Sep 2005 08:13:19 +0900
From: sakazuki <qzs01353@nifty.ne.jp>
Subject: [ANN] RDE 1.0.1 released
To: ruby-talk@ruby-lang.org (ruby-talk ML)

Hi. Simon.

## Hi daz, Thank you very much for your support.
## Your script is valid.

I released RDE 1.0.1 (a little bug fixed version).

Bugfix
* FindMark are drawn in some cases.
* GUI scripts does not work well
* combobox history is infnite in search and replace dialog
  (store 30 records)

Modify
* Define Escape key in any dialogs.

thanks for your effort!

i tried your script, it says:

ExMarks.FindMark.Visible property changed to 08 (from 09)

and if i restart the underlines are gone. (Yeah!)

If i select Ruby->EndOfDefun or Ruby->BeginningOfDefun they are back.

So, hmm, i still think there is nothing to "debate with the other
user(s)" of my machine...

But thanks again, i guess we are getting closer!

cheers

Simon

--
sakazuki <qzs01353@nifty.com>

Hi.
I announc the release of RDE version 1.0.1 again.
This is a little bug fixed version.

Bugfix
* FindMark are drawn in some cases
* GUI scripts does not work well
* combobox history is infnite in search and replace dialog
* FileJump does not work well
* HelpMenu does not work well on some PC.
Modify
* Define Escape key in any dialogs.

sakazuki

···

Sorry, I found the problem these packages.
I cancelled this announce.

----- Original Message -----
>Date: Wed, 28 Sep 2005 08:13:19 +0900
>From: sakazuki <qzs01353@nifty.ne.jp>
>Subject: [ANN] RDE 1.0.1 released
>To: ruby-talk@ruby-lang.org (ruby-talk ML)
>
>
>Hi. Simon.
>
>## Hi daz, Thank you very much for your support.
>## Your script is valid.
>
>I released RDE 1.0.1 (a little bug fixed version).
>
>Bugfix
>* FindMark are drawn in some cases.
>* GUI scripts does not work well
>* combobox history is infnite in search and replace dialog
> (store 30 records)
>
>Modify
>* Define Escape key in any dialogs.
>
>> thanks for your effort!
>>
>> i tried your script, it says:
>>
>> ExMarks.FindMark.Visible property changed to 08 (from 09)
>>
>> and if i restart the underlines are gone. (Yeah!)
>>
>> If i select Ruby->EndOfDefun or Ruby->BeginningOfDefun they are back.
>>
>> So, hmm, i still think there is nothing to "debate with the other
>> user(s)" of my machine...
>>
>> But thanks again, i guess we are getting closer!
>>
>> cheers
>>
>> Simon
>
>--
>sakazuki <qzs01353@nifty.com>
>
>