mapgears / scribeui

http://scribeui.org
MIT License
28 stars 15 forks source link

Mapfile Keyword helper #49

Open smercier opened 10 years ago

smercier commented 10 years ago

Would be nice to integrate in scribeui design, online mapfile keyword help(http://mapserver.org/mapfile/index.html)

cbourget commented 10 years ago

ALT + Click (or CTRL + ALT + click if ALT + click resizes the browser) on a "block" keyword such as LAYER, CLASS, STYLE... opens the corresponding MapServer documentation.

jlap commented 10 years ago

This feature works well and is useful, but I think we should switch the shortcut? Or maybe just keep the ctrl+alt+click one.

It's just that it's a bit confusing, if alt+click moves or resizes the browser, selecting alt only still changes the cursor when you hover a keyword, leading you to think clicking doesn't work at all.

Also, maybe we should bold or underline the keywords for which documentation help is available ? It would save a bit of time, imo.