View previous topic :: View next topic |
Author |
Message |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Tue Feb 10, 2009 11:48 am Post subject: Test a new Plotscripting tool (Hamster Whisper) |
|
|
I am writing a new plotscripting tool called 'Hamster Whisper' to replace the aging HssEd. I would greatly appreciate testing and feedback and bug-reports.
You can get the windows installer from:
http://hamsterrepublic.com/dl/hwhisper-setup.exe
You will also need the GTK+ runtime environment. If you don't have it already, get it from http://gladewin32.sourceforge.net/ I re-uploaded a new version that bundle's its own copy of the GTK+ runtime, so you don't have to manually install it separately.
The source code (for anybody who is curious) can be gotten via 'Subversion' from svn://gilgamesh.hamsterrepublic.com/ohrrpgce/tools/hwhisper |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Feb 18, 2009 5:22 pm Post subject: |
|
|
I have uploaded a fresh copy that now supports multiple tabs. ta-da!
 |
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Wed Feb 18, 2009 6:24 pm Post subject: |
|
|
The only features that this needs now in order to make me convert:
- automatic indentation (nothing fancy, just going to the same indentation level as the current line when I carriage return)
- context-sensitive coloring (e.g. plotscr.hsd-defined functions in one color, comments in another)
I'm currently a big fan of Notepad++, which does the first and could do the second if I bothered looking into how to make it do it. I haven't tried HWhisper yet, but am following it with great interest  _________________
|
|
Back to top |
|
 |
The Drizzle Who is the Drizzle?

Joined: 12 Nov 2003 Posts: 432
|
Posted: Wed Feb 18, 2009 9:51 pm Post subject: |
|
|
I'm not sure how useful this would be but it sounds useful in my head...
An option to make the text automatically change color with each parenthesis and revert back with each closed parenthesis. I feel like it would make it a lot easier to catch mistakes and keep track of things without getting unwieldy.
Ex:
(red(orange(yellow(blue)yellow)orange)red) _________________ My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah... |
|
Back to top |
|
 |
Kizul Emeraldfire Type: Cyber Dragoon

Joined: 26 Mar 2004 Posts: 229
|
Posted: Thu Feb 19, 2009 7:57 am Post subject: |
|
|
…okay, I have just a FEW more features to request for this — thank you very much for the tabbed document-thingy by the way, it's really handy!
- Middle-clicking gets rid of a tab
- Ctrl+Tab switches to a new tab instead of just putting the selection cursor on the tab bar
- Find and Replace — most convenient feature ever. \o.o/
- Something like the Script Information box from HssEd — It came in handy for me at times, being able to see things like scripts in a file, global variables, etc.
I also like the idea of context-sensitive coloring stuff like what Moogle1 and Drizzle suggested.
Can they be done? |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Thu Feb 19, 2009 8:54 am Post subject: |
|
|
Moogle1 wrote: | The only features that this needs now in order to make me convert:
- automatic indentation (nothing fancy, just going to the same indentation level as the current line when I carriage return) |
Implemented it last night before bed.
Moogle1 wrote: | - context-sensitive coloring (e.g. plotscr.hsd-defined functions in one color, comments in another) |
Dreamed about implementing it all night long.
Actually, TMC has already written some python code that can do syntax highlighting, but I'm not sure yet if I will try to integrate what he offers or re-write something else.
Moogle1 wrote: | I'm currently a big fan of Notepad++, which does the first and could do the second if I bothered looking into how to make it do it. I haven't tried HWhisper yet, but am following it with great interest :) |
Notepad++ is Scintilla based, isn't it? I started with the plan to write a scintilla lexer for hspeak, but after looking at the docs I decided it would be easier to write HWhisper. I may have been wrong in that difficulty-assessment, but what is done is done :)
The Drizzle wrote: | I'm not sure how useful this would be but it sounds useful in my head...
An option to make the text automatically change color with each parenthesis and revert back with each closed parenthesis. I feel like it would make it a lot easier to catch mistakes and keep track of things without getting unwieldy.
Ex:
(red(orange(yellow(blue)yellow)orange)red) |
That feels to me more awkward than other possible schemes for syntax highlighting, but I do plan on making it so when you put the cursor on a parenthesis or a "begin" or an "end" it will automatically highlight the matching end of the block.
Kizul Emeraldfire wrote: | …okay, I have just a FEW more features to request for this — thank you very much for the tabbed document-thingy by the way, it's really handy! :D |
You are welcome!
Kizul Emeraldfire wrote: |
[*]Middle-clicking gets rid of a tab
|
Ah, firefox style! Yeah, that would be doable.
I was also hoping to make the tabs re-orderable by dragging and dropping, but that will take a little more work, since I have never done drag-and-drop in pygtk before.
Kizul Emeraldfire wrote: |
[*]Ctrl+Tab switches to a new tab instead of just putting the selection cursor on the tab bar |
Heh, I hadn't realized that ctrl+tab was doing anything at all!
But for tab switching I was thinking something more along the linse of ALT+1 ALT+2 ALT+3 and so on, or else maybe CTRL+PERIOD and CTRL+COMMA for next tab and previous tab.
Kizul Emeraldfire wrote: |
[*]Find and Replace — most convenient feature ever. \o.o/
|
Yes, definitely. I just can't decide if I want it to be a separate dialog, or if I want to cram more stuff into the search bar at the bottom.
Kizul Emeraldfire wrote: |
[*]Something like the Script Information box from HssEd — It came in handy for me at times, being able to see things like scripts in a file, global variables, etc. :)
|
Yes. I'll probably have to collect all that information anyway when I start on script syntax highlighting. |
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Thu Feb 19, 2009 8:59 am Post subject: |
|
|
You need to do Ctrl+PageUp/PageDown for tab cycling. Notepad++ doesn't support this and it's my biggest complaint with the program. _________________
|
|
Back to top |
|
 |
Kizul Emeraldfire Type: Cyber Dragoon

Joined: 26 Mar 2004 Posts: 229
|
Posted: Thu Feb 19, 2009 9:11 am Post subject: |
|
|
The reason I'd suggested Ctrl+Tab/Ctrl+Shift+Tab for Next Tab/Previous Tab is because that's how Firefox does it — both that and the 'middle-click to close tab' request were spawned SORT OF from Firefox, but mostly they actually came from my HTML editor (EditPlus 3). ^^
James Paige wrote: | I was also hoping to make the tabs re-orderable by dragging and dropping, but that will take a little more work, since I have never done drag-and-drop in pygtk before. |
That would've been awesome! However, I'm fine with the tabs not being reorderable.
Also, I just remembered another couple of things I was wanting that would be handy:
- Capability to open multiple documents from the 'Open' window (via Ctrl-clicking and Ctrl+Shift-clicking to select multiple documents)
- Capability to drag-and-drop documents into the main Hamster Whisper window (and onto its icon) to open one or more documents at a time, sorted alphabetically and stuff
- 'Save All' button
|
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Thu Feb 19, 2009 10:39 am Post subject: |
|
|
Firefox also supports Ctrl+PgUp/PgDown -- or maybe that's just TabMixPlus. Either way, that's all I use. _________________
|
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Thu Feb 19, 2009 11:43 am Post subject: |
|
|
Moogle1 wrote: | You need to do Ctrl+PageUp/PageDown for tab cycling. Notepad++ doesn't support this and it's my biggest complaint with the program. |
Hey, I like that key combo even better. Done! Download it and try it.
Kizul Emeraldfire wrote: | [list][*]Capability to open multiple documents from the 'Open' window (via Ctrl-clicking and Ctrl+Shift-clicking to select multiple documents) |
Ooh. thanks for mentioning that. I hadn't through of it.
Kizul Emeraldfire wrote: | [*]Capability to drag-and-drop documents into the main Hamster Whisper window (and onto its icon) to open one or more documents at a time, sorted alphabetically and stuff |
Ah, yes, that too. Actually you currently can't associate HWhisper with .hss files either. (the drag-and-drop to the icon will be a side effect of implementing that)
Kizul Emeraldfire wrote: | [*]'Save All' button |
Should be easy. |
|
Back to top |
|
 |
|