On 7/31/07, Neil Hodgson <[EMAIL PROTECTED]> wrote:
>    How are you going to arbitrate between the current extension's
> choice and the history? I commonly make a series of searches with one
> mask.

Here's the patch: in SciTEBase.cxx, around 3573

replace:
   case IDM_FINDINFILES:
      FindInFiles();
      break;

with this
    case IDM_FINDINFILES:
      if (props.GetInt("find.files.using.extension")) {
          SString ext = "*.";
          ext += filePath.Extension().AsInternal();
          memFiles.Insert(ext);
      }
      FindInFiles();
      break;

The memFiles object already had a most convenient method that does
what we want, i.e. uniqueness and current-string-on-top!

steve d.
_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to