<br clear="all">/ˈmɪstər/ /ˈdʒɛnəsɪs/@/dʒi/ /meɪl/ /dɒt/ /kɒm/<br>Benjamin West<br><br>
<br><br><div class="gmail_quote">On Sat, Jan 17, 2009 at 3:13 AM, spir <span dir="ltr"><<a href="mailto:denis.spir@free.fr">denis.spir@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le Fri, 16 Jan 2009 17:04:36 +0000,<br>
Nick Treleaven <<a href="mailto:nick.treleaven@btinternet.com">nick.treleaven@btinternet.com</a>> a écrit :<br>
<div><div></div><div class="Wj3C7c"><br>
> On Sun, 11 Jan 2009 18:50:36 +0100<br>
> Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>> wrote:<br>
><br>
> > >   [In Selection]  [In Session]  [In Document]<br>
> > ><br>
> > >"Selection" and "Document" are self-explanatory; "Session" replaces<br>
> > >text in all currently-open files.<br>
> > ><br>
> > >Why are the buttons in this order? Intuitively, I would expect them to<br>
> > >be ordered in terms of increasing scope: selection, document, session.<br>
> > >I don't see why the current order would be preferable---I've never<br>
> > >even used the "In Session" button in actual work.<br>
><br>
> I did it like that because the Gnome HIG says the most commonly-used<br>
> button should be on the right, and I assumed it was the document<br>
> button. Then it seemed logical to put the session button near the<br>
> document button.<br>
><br>
> Anyway, the selection button can also be used often, so we could change<br>
> the order to:<br>
><br>
> [Session] [Document] [Selection]<br>
><br>
> This also makes sense in making the function with the biggest impact<br>
> away from the commonly used position.<br>
><br>
> > Good catch.<br>
> > I agree it should be in the order selection, document and then session.<br>
> > I don't remember when these buttons were added. In case I did so, I<br>
> > probably just didn' think about and just added them.<br>
> > In case of it was Nick, maybe he had a reason.<br>
><br>
> Regards,<br>
> Nick<br>
<br>
</div></div>Some notes about the replace feature/interface:<br>
<br>
-1- I think the arrow should go and these replace choices be visible from start -- does this serve<br>
any purpose?<br>
<br>
-2- Which choice is the most common or useful one can probably be discussed for nights... so I<br>
propose the fasttest/default one to be the most secure one, i.e. "in selection" or "in<br>
scope" (-->).<br>
<br>
-3- I would add a "replace all in current scope" function that I dream of for years already ;-)<br>
where 'scope' means closest nesting func, class, or whatever.<br>
</blockquote><div>I second this, EXcept that scoping seems to be broken in JavaScript.  I can't seem to get geany to resolve that properly.  In JS though, I get why it could be tough.  I'll try to file a formal bug-report on it once I unburry myself from stuff that needs to be done. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
-4-This button and "in selection" should be invalid (greyed) whenever there is no 'scope' (module toplevel, meaning "in scope" = "in doc") or there is no selection.<br>
<br>
-5- I would also add a "in project" choice to allow lexical evolution at project level. This would<br>
walk together with file/doc/module registering in project. (The latter would also allow<br>
straightforward project stage freezing/recording e.g into myProj-0.10-01_02_2009.tar).<br>
<br>
-6- I'd love an '\i' code working in both the search & replace fields, that would mean 'indent' &<br>
match the user specified value for one level of indentation in preferences (that is n spaces or<br>
one tab).<br>
<br>
-7- ?<br>
<br>
denis<br>
<br>
------<br>
la vida e estranya<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
</div></div></blockquote></div><br>