I released RDE 1.0.0.
RDE is the development environment for ruby on windows.
You can edit, run and debug your scripts quickly and easily.
RDE debugger is the GUI wrapper of debug.rb.
RDE editor has functions that syntax coloring, autocomplete and etc.
Please try it.
http://homepage2.nifty.com/sakazuki/rde_e.html
Changes is below.
== 2005-09-23 1.0.0
* Color print
* Share history of quick index
* UnicodeLE, UnicodeBE, UTF8, UTF8N
* Mark correspondent paren
* Add mouse gesture
* Add Attached Area
* Add Wordwrap in Console Window
* Add Regexp option in Search and Replace
* Add small button in CodeExplorer
* Remake Option Form
* Add Auto Adjust size of tabspace
* Add Fountain(Text, XML, Mail, JSP, VBScript, Python, JScript, BCC)
* Add CancelOption for EditorView
* Fix coloring in Regular expression and multiline
* Change Splitter like Netscape
* Change Combobox to Menu in CodeExplorer
* Add StayOnTop on ConsoleWindow, VariableWindow
* Add Customized ToolBar
* Add result of quick index in Goto.
* Enable send Ctrl+C and Ctrl+Break.
* Enable send EOF.
* Rename key configuration file (from *.key to *.ini)
* Refactering translation files.(English.xml, Japanese.xml)
--
sakazuki <saka...@sourceforge.net>
Anyone used this program? How does it compare to the other IDEs?
Greg
Ok, here are the first thoughts of a first time user:
(ruby 1.8.2 (2004-12-25) [i386-mswin32])
* the syntax highlighting is ugly (ok, that's very personal and of
cause it can be changed, nice!)
* it looks overloaded, which can also be changed, nice!
* the console window does not store it's editor settings.
* if I put my cursor on 'self' the 'e' and 'f' are highlighted, weird.
(also happens with various other combinations of adjacent letters)
* the highlighting of regexp work fine. nice!
* if a word starts with 's' it gets underlined?? why?
(even inside strings)
* I found at least 3 different dialogs that seem to define the
colouring of the main edit view (and nowhere found the underline)
* if there is a unsaved file and I want to exit, the dialog box has
the following options: ??(Y), ???(N), ?????
* the toolbars behave strange, sometimes I can drag them sometimes not,
if they overlap sometimes there is a '>>' indicator sometimes not.
* 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)
* the ARGV dialog (and other) does not respond to the escape key.
* 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)
* Some menu items have strange names (like the EndOfDefun above)
* There is a macro function, very nice! could you please add a
default key mapping (at least) for KeyMacroPlay ?
* The RDE-Help (Ctrl-F1) does nothing.
Ok, dispite this list I think it looks very promissing, just a few
edges left. We realy need a good ruby editor so your effort is very
appreciated.
cheers
Simon
> > Hi.
> >
> > I released RDE 1.0.0.
> > RDE is the development environment for ruby on windows.
> > You can edit, run and debug your scripts quickly and easily.
> > RDE debugger is the GUI wrapper of debug.rb.
> > RDE editor has functions that syntax coloring, autocomplete and etc.
> >
> > Please try it.
> > http://homepage2.nifty.com/sakazuki/rde_e.html
> >
> > Changes is below.
>
> Ok, here are the first thoughts of a first time user:
> (ruby 1.8.2 (2004-12-25) [i386-mswin32])
>
> * the syntax highlighting is ugly (ok, that's very personal and of
> cause it can be changed, nice!)
Hm.
>
> * it looks overloaded, which can also be changed, nice!
I also think so.
>
> * the console window does not store it's editor settings.
Yes, cosole window store the font, window size, colors only.
I plan to store edtior setting in console window in future version.
>
> * 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.
>
> * the highlighting of regexp work fine. nice!
Thanks.
>
> * if a word starts with 's' it gets underlined?? why?
> (even inside strings)
Maybe it is a FindMark.
>
> * 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
> * 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 toolbars behave strange, sometimes I can drag them sometimes not,
> if they overlap sometimes there is a '>>' indicator sometimes not.
I will research this behavior.
>
> * 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.
> * the ARGV dialog (and other) does not respond to the escape key.
Thanks, I will fix them in next version.
>
> * 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....
>
> * Some menu items have strange names (like the EndOfDefun above)
Please suggest the naming them in English.
You can also rewrite them in TranslationFile.
>
> * There is a macro function, very nice! could you please add a
> default key mapping (at least) for KeyMacroPlay ?
I will do it future version.
> * The RDE-Help (Ctrl-F1) does nothing.
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.
FindMark setting in registry make the problems.
Please check off FindMark setting by beta3.
>
> Ok, dispite this list I think it looks very promissing, just a few
> edges left. We realy need a good ruby editor so your effort is very
> appreciated.
>
> cheers
>
> Simon
--
sakazuki <qzs0...@nifty.com>
> Hello, Mr. Simon.
>
> > > Hi.
> > >
> > > I released RDE 1.0.0. [...]
Real thanks sakazuki-san - I can see you've put a lot of work in !
I'm glad you haven't abandonded this excellent project.
Now one-click install !!!
RDE's so convenient for testing scripts posted here ... I
don't have to think of a name or where to save it on disk -
just paste it in and hit F5 ... quicker than IRB !!
I haven't found another editor which allows this and it
seems such an easy feature to provide.
The YAGNI competitors will follow, eventually.
I found beta3 accidentally just yesterday and I've been playing
for the whole day ... must sleep soon ;-)
To Simon,
> >
> > Ok, here are the first thoughts of a first time user:
> > (ruby 1.8.2 (2004-12-25) [i386-mswin32])
> >
> > * the syntax highlighting is ugly (ok, that's very personal and of
> > cause it can be changed, nice!)
>
> Hm.
>
> >
> > * it looks overloaded, which can also be changed, nice!
>
> I also think so.
>
Hm.reverse ...
I think it's too plain :-))) (?underloaded?)
http://www.d10.karoo.net/ruby/rde_pics.html
> > * 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].
I understand he's saying reload the internal translation file by
entering a non-existent filename.
beta3 came with the old tanslation .XML files - they're not in
1.0.0 and they've gone from the home page.
Almost all the visible text in menus and such can be changed via
an external translation file. The one I did for 0.9.9.1 still
works for me but I'll get round to updating for this release soon.
I know what quite a few of the cursor settings in the Editor
Properties do and I could probably describe them but it's hard
to give a brief hint next to the checkbox without it turning
into something like an End-User License Agreement.
>
> > * the toolbars behave strange, sometimes I can drag them sometimes not,
> > if they overlap sometimes there is a '>>' indicator sometimes not.
>
> I will research this behavior.
>
A toolbar lock/unlock would be useful (with default locked) so that
newbies don't become vexed when a toolbar is snapped off (undocks).
That might prevent the initialization code provided by the widget
from doing this kind of realignment.
> >
> > * 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.
>
In other words, this has nothing to do with RDE.
The pervasive rubygems is under anaesthesia on my machine.
I run six verions of ruby and only one has rubygems installed
via the one-click ruby.
RUBYOPT could almost be called an Environment Variable but
"set RUBYOPT=rubygems" turns an Application Variable into
something much more narrow. All the other rubys need dummy
"ubygems.rb" files with just a sarcastic comment in them.
BTW, another great feature of RDE is that I can switch
between versions with a couple of clicks -- I think RDE
remembers the last five in its drop-down menu.
[sakazuki: RDE remembers ?infinite? Find/Replace strings
- they don't get cleared. I have a script that edits the
registry entry, occasionally ;) ]
>
> > * Some menu items have strange names (like the EndOfDefun above)
>
> Please suggest the naming them in English.
> You can also rewrite them in TranslationFile.
>
As I said above, I'll probably attend to the English one.
>
> > * The RDE-Help (Ctrl-F1) does nothing.
>
> 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.
>
Doesn't work for me but I still like the 0.9.9.1 .chm file.
I'll investigate the wiki and I only found the forum on
sourceforge today.
>
> FindMark setting in registry make the problems.
> Please check off FindMark setting by beta3.
>
Beta version users should be aware that it's usually
advisable to *uninstall* beta releases before installing
the final -- because of debug flags etc.
Unless I'm wrong, the RDE registry entry consists of
delphi encoded objects rather than separate entries,
- so Good Luck if you try to find that setting.
(Uninstall ;)
> >
> > Ok, dispite this list I think it looks very promissing, just a few
> > edges left. We realy need a good ruby editor so your effort is very
> > appreciated.
> >
"This list" was a little repetitive and, reading it quickly,
suggested a negative tone even though you seem to have reached
a favourable conclusion.
> > cheers
> >
> > Simon
>
> --
> sakazuki <qzs0...@nifty.com>
>
Yes, very many thanks.
I need 3 things ... 1) Ruby 2) PickAxe 3) RDE
daz
OK.. I get exactly the same error.. and I didn't understand the replies
here. Can anyone be a little clearer please?
Again - I think RDE looks promising too, but once again, the ONLY IDE for
Ruby which actually works out of the box for me (on Windows XP) is
ArachnoRuby, and they all appear equally unfinished. :-(
Graham
Hi Graham,
It's so difficult to know what /finished/ software looks like :p
Using the same script which gave the error, try running it
from a command window (I still call it a DOS box). That'll
probably work because your script has doesn't call 'require' (?).
When you use the debugger, ... :
http://phrogz.net/ProgrammingRuby/trouble.html#rubydebugger
... with 'ruby -rdebug hello.rb', it's 'require'-ing
the debug library. However, you have rubygems installed
so it has taken responsibility for the 'require' and it
calls in its own library 'rubygems.rb' first. However (again),
before all that, when ruby starts up, another library
called 'ubygems.rb' is 'require'-d to redefine the 'require'
method.
(I'm subconsciously trying to make that sound complicated;
here's how your simple script effectively appears ...)
## (prologue)
require 'ubygems.rb' # RUBYOPT=rubygems [environment variable]
require 'rubygems.rb' # because 'require' is now a gems method
require 'debug.rb' # this line triggers the one above
## hello.rb
puts 'Hello World'
So, when you run your one-line hello script with:
ruby -rdebug hello.rb
- do you get an error or does the debugger start/continue OK ?
If an error, which directory(s) contain debug.rb and debug2.rb
- debug2.rb is a slightly modified version for RDE.
Did you use the RDE installer(.exe) or the .zip file ?
Did you install any of the RDE 1.0.0 beta releases
before the final ?
----------
RDE just calls ruby.exe, ruby & gems set up the $LOAD_PATH
I doubt whether RDE is to blame.
<Ready to eat own words/>
daz
--
Este correo esta libre de virus!
umitanuki
Your explanation is detailed and helpful - here is what I found:-
C:\DOCUME~1\Graham>set rubyopt
RUBYOPT=rubygems rubygems
I'm not sure what it should say - should rubygems be duplicated?
> So, when you run your one-line hello script with:
> ruby -rdebug hello.rb
>
> - do you get an error or does the debugger start/continue OK ?
C:\DOCUME~1\Graham>ruby -rdebug hello.rb
Debug.rb
Emacs support available.
g:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
Which is exactly like RDE
Perhaps my problem is a conceptual one. I don't WANT to step through / see
all the required libraries.. I want to debug _my_ program
>
> If an error, which directory(s) contain debug.rb and debug2.rb
> - debug2.rb is a slightly modified version for RDE.
>
> Did you use the RDE installer(.exe) or the .zip file ?
EXE
>
> Did you install any of the RDE 1.0.0 beta releases
> before the final ?
Yes - 0.94 (I think) - but I was sure I had un-installed it first. perhaps
the beta didn't uninstall correctly? (I've subsequently moved Ruby to a
different drive which would change old paths - might this be an issue?)
Thanks for helping
Graham
You're not on your own worrying about assumptions ;)
All the installer needs to know is the path to your ruby.exe -
it prompts for that and I'm reasonably confident that it's OK.
>
> C:\DOCUME~1\Graham>set rubyopt
> RUBYOPT=rubygems rubygems
>
> I'm not sure what it should say - should rubygems be duplicated?
No - and it would be interesting to find out how that happened.
It should read:
RUBYOPT=rubygems
> C:\DOCUME~1\Graham>ruby -rdebug hello.rb
> Debug.rb
> Emacs support available.
>
> g:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
>
> Which is exactly like RDE
Which is why Sakazuki-san suggested to try it :)
It's *not* an RDE problem.
>
> [...] (I've subsequently moved Ruby to a different drive
> which would change old paths - might this be an issue?)
>
Ruby can cope with that.
You need to establish why there's a :
g:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb
- but no :
g:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb
They should be together in that directory.
On my system, they both have the same 'modified' date & time.
See if this ruby line will find it. If it does - you could
try moving it to the right place, although you could find
other installation problems which would make it easier to
start from scratch.
puts Dir['G:/ruby/**/*ubygems.rb']
#-> G:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb
#-> G:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb
Good luck,
daz
I have no plan of Linux version. I have not used GUI on Linux.
I registerd the latest sources in sourceforge CVS.
Maybe, Anyone can make a Linux vesion.
>
> A really great tool!... Congrutulations.... Any plans of a Linux version ?
--
sakazuki <qzs0...@nifty.com>
> [sakazuki: RDE remembers ?infinite? Find/Replace strings
> - they don't get cleared. I have a script that edits the
> registry entry, occasionally ;) ]
Auch! Yes, infinite. These are bug. I will fix these in next release.
> Beta version users should be aware that it's usually
> advisable to *uninstall* beta releases before installing
> the final -- because of debug flags etc.
> Unless I'm wrong, the RDE registry entry consists of
> delphi encoded objects rather than separate entries,
> - so Good Luck if you try to find that setting.
> (Uninstall ;)
Current Uninstaller does not clear registry.
So you maybe need to rename or delete HKEY_CURRENT_USER\Software\RubyDE
with regedit.exe.
--
sakazuki <qzs0...@nifty.com>
____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.
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
my apologies.
cheers
Simon
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 :#
Kroeger Simon (ext) wrote:
>>Hi.
>>
>>I released RDE 1.0.0.
>>RDE is the development environment for ruby on windows.
>>You can edit, run and debug your scripts quickly and easily.
>>RDE debugger is the GUI wrapper of debug.rb.
>>RDE editor has functions that syntax coloring, autocomplete and etc.
>>
>>Please try it.
>>http://homepage2.nifty.com/sakazuki/rde_e.html
>>
>>Changes is below.
>
>
> Ok, here are the first thoughts of a first time user:
> (ruby 1.8.2 (2004-12-25) [i386-mswin32])
>
> * the syntax highlighting is ugly (ok, that's very personal and of
> cause it can be changed, nice!)
>
Matter of taste, I try to emulate the coloring(custom I like lite yellow
background) in RDE in scite and crimson editor, not as good as RDE
> * it looks overloaded, which can also be changed, nice!
>
> * the console window does not store it's editor settings.
>
> * if I put my cursor on 'self' the 'e' and 'f' are highlighted, weird.
> (also happens with various other combinations of adjacent letters)
>
not happening here...
> * the highlighting of regexp work fine. nice!
>
> * if a word starts with 's' it gets underlined?? why?
> (even inside strings)
>
no it doesn't in my setup... I tried but no underlining
> * I found at least 3 different dialogs that seem to define the
> colouring of the main edit view (and nowhere found the underline)
>
Tool->Editor Property->Fountain
> * if there is a unsaved file and I want to exit, the dialog box has
> the following options: ??(Y), ???(N), ?????
>
uh minor detail, Applied English_1000.xml and now is perfect
> * the toolbars behave strange, sometimes I can drag them sometimes not,
> if they overlap sometimes there is a '>>' indicator sometimes not.
>
> * the debuger fails on
>
> ...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
>
I never use debug but after trying i got:
Debug.rb
Emacs support available.
RDE Extention
C:/Dev/Rubies/CD_FIT_00.rb:1:require 'find'
(rdb:1) l 1-10
abnormal program termination
C:/usr/local/lib/ruby/site_ruby/1.8/debug2.rb:70: [BUG] Segmentation fault
ruby 1.8.2 (2005-01-21) [i386-mingw32]
Completed(3)
running ruby -rdebug works...
> I haven't looked any further yet, rubygems should be there (gem
> install works)
>
> * the ARGV dialog (and other) does not respond to the escape key.
>
> * 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)
>
Nothing gets underlined, it travels thru the code ctrl+alt+RIGHT looks
like is by keywords... so is ctrl+RIGHT, looks quite useful
> * Some menu items have strange names (like the EndOfDefun above)
>
> * There is a macro function, very nice! could you please add a
> default key mapping (at least) for KeyMacroPlay ?
>
> * The RDE-Help (Ctrl-F1) does nothing.
You have to bind to something file/url
>
> Ok, dispite this list I think it looks very promissing, just a few
> edges left. We realy need a good ruby editor so your effort is very
> appreciated.
>
You forgot the mouse gestures
> cheers
>
> Simon
>
>
Actually my personal problem with RDE is whenever i forgot to add \n to
printf statements and run it from RDE it becomes very slow...but the
origin of it being me well...
Great update Sakazuki
Now about an explorer-like window...;-)
or a binding to terminate process (mostly for my problem above (no \n)
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 ;)
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
Start it up, paste your snippet into [Untitled] ...
Press F5 ... *nothing* happens ... it's disabled ... you have to save
the file and it has to know what file type it is otherwise it'd be just
as appropriate to do a C++ compile on it?
You're describing what you think it does - not what it /does/ (?)
SciTE is nice as a substitute for Notepad.
I have RDE running all the time -- don't need to wait for it to load :)
daz
> > > * 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 <qzs0...@nifty.com>
Your RDE is a big plus for everyone with RubyOnWindows.
Thank you, keep up the work!
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
Then I must get my apology in quickly. You've convinced me.
FWIW, I can't reproduce the same thing here, yet.
Regards,
daz
Dude, that's been there, forever :-)
- Who'd have thought of that ?
daz
## 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 <qzs0...@nifty.com>
Nope, just like everyone else, I have my own ways of working with my
favorite tools. See, it's not 'untitled' when it starts up because I
have an empty test.rb file where I do all my snippet testing.
Tricks, like you do with an always open RDE to avoid loading time.
I prefer not having open windows all the time (my quirk) so I appreciate
quick programs. Given that I also work with C++ on a monster MDA tool
with no real editor in parallel, Scite works form me on a much better
level than Notepad :).
I've learned not to make assumptions on tool usage patterns, probably
because my most productive tool usage is so much different from everyone
else's :)
One thing I can't find is the "Block Comment" command (Ctrl-Q in
SciTE), which is something I really need.
How do you remove the thick line under class and def?
Sometimes it's easier to read the output if the Console Window is to
the right, also like in SciTE. I tried to dock it there, but it only
docks to the bottom.
Michele
sakazuki wrote:
> Hi.
>
> I released RDE 1.0.0.
> RDE is the development environment for ruby on windows.
> You can edit, run and debug your scripts quickly and easily.
> RDE debugger is the GUI wrapper of debug.rb.
> RDE editor has functions that syntax coloring, autocomplete and etc.
>
> Please try it.
> http://homepage2.nifty.com/sakazuki/rde_e.html
>
> Changes is below.
>
> == 2005-09-23 1.0.0
>
> * Color print
> * Share history of quick index
> * UnicodeLE, UnicodeBE, UTF8, UTF8N
> * Mark correspondent paren
> * Add mouse gesture
> * Add Attached Area
> * Add Wordwrap in Console Window
> * Add Regexp option in Search and Replace
> * Add small button in CodeExplorer
> * Remake Option Form
> * Add Auto Adjust size of tabspace
> * Add Fountain(Text, XML, Mail, JSP, VBScript, Python, JScript, BCC)
> * Add CancelOption for EditorView
> * Fix coloring in Regular expression and multiline
> * Change Splitter like Netscape
> * Change Combobox to Menu in CodeExplorer
> * Add StayOnTop on ConsoleWindow, VariableWindow
> * Add Customized ToolBar
> * Add result of quick index in Goto.
> * Enable send Ctrl+C and Ctrl+Break.
> * Enable send EOF.
> * Rename key configuration file (from *.key to *.ini)
> * Refactering translation files.(English.xml, Japanese.xml)
>
> --
> sakazuki <saka...@sourceforge.net>
I use alt+c which calls script comment.rb (I think this came with a
previous version of RDE, check the sample scripts)
comment.rb
8<---------------------------
while gets
puts "##{$_}"
end
I tried to bind Ctrl-Q to the comment script, but it didn't work. The
strange information I get when trying is not very helpful, and the
information about macro in the help file talks about OLE automation(?).
I tried:
Macro/Register script
Load
I selected comment.rb
result...nothing, just an empty list
Is this a bug or have I forgotten to say magick word?
/alex
--
the_mindstorm.
Try this instead:
- Load the script into the editor
- Macro/Quick Register
- Hit Ctrl-q (or whatever) in the shortcut
- Select current selection as the target
- Select self as the output
- Deselect the argv required.
--
David Naseby
http://homepages.ihug.com.au/~naseby/
> >
> > I tried:
> > Macro/Register script
> > Load
> > I selected comment.rb
> > result...nothing, just an empty list
> >
> > Is this a bug or have I forgotten to say magick word?
Alexandru Popescu wrote:
>
> I think we should wait for the next release :-(.
The next release is equally unlikely to 'Load' a
ruby script and interpret it as a macro config file.
'Add' will add a new script to the list of currently
available scripts.
'Load' will load a new set of scripts that has been
'Save'-d previously (such as the samples provided).
daz
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
* Had to modify "Normal" option for "Ruby" to suppress warnings when
running scripts. That is, I added the "-W0" option to "Normal Mode"
* I run with two monitors - my desktop stretches across both. The
"Editor Property" dialog appears in the center of my two monitors (i.e.
split across each one) when I open it. It's clearly opening in the
middle of the desktop, rather than the middle of the current monitor.
Otherwise, looks great. I love the code explorer on the left, and the
code view on the right is an interesting idea, though I don't know how
useful it will turn out to be.
Thanks for the great work!
Seems like most of the problems with 1.0.0 are fixed, but I am missing my underscores :-(. Is it
something related to the colors I am using?
/alex
--
w( the_mindstorm )p.