Geany/gtkDialog Question:

Booting, installing, newbie
Post Reply
Message
Author
blueglide
Posts: 4
Joined: Tue 09 Oct 2012, 19:44
Location: South Carolina

Geany/gtkDialog Question:

#1 Post by blueglide »

I'm experimenting with gtkDialog shell scripts and found that I can get Geany to auto-close the XML-like tags found in a typical gtkDialog script.... if,
(1) Editor>Preferences>Editor>Completions>HTML/XML tag auto-closing is checked
(2) *.sh; is added to the end of the HTML line in /usr/share/geany/filetype_extensions.conf
(3) #!/bin/bash is NOT present at the top of the script.

It seems to be working ok, but I’m new here. Is there down-side to this? How do people normally edit shell scripts intended to be used to generate gtkDialog boxes?

Thanks.

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#2 Post by GustavoYz »

Not sure about GtkDialog, but I think some people around here is using glade.
May find interesting this topics/pages:
http://murga-linux.com/puppy/viewtopic.php?t=38608
http://puppylinux.org/wikka/gtkdialog
http://www.murga-linux.com/puppy/viewtopic.php?t=69188

Nowadays im using vim, but back on the days when I used up Geany, I set sparkupfor HTML (tedious) coding.
It should work just fine for "XML needs" too...
I did a silly quick test, see the attached pic.

Hope this helps you.
Regards.
Attachments
xml_.jpg
Simple and direct "sparkup" usage.
(16.32 KiB) Downloaded 408 times

blueglide
Posts: 4
Joined: Tue 09 Oct 2012, 19:44
Location: South Carolina

#3 Post by blueglide »

Thanks Gust. I'll take a look at that.

Post Reply