Greg Smith: > It would be nice (but would cause compatibility problems with apps that > chaecked for a return of -1 rather than <0) if we returned numbers less than > -1 > when searches failed due to RE errors.
That is a fairly large change in behaviour as documented behaviour is to return a valid position or INVALID_POSITION. > Alternatively (and maybe more compatible), there could be be an addition > search > flag that allowed us to use search and replace in a "do nothing except check > RE > search and replace strings" mode. > > Any thoughts? There is a SCI_GETSTATUS call for retrieving error codes that is almost completely unused. If you want the error message text as well than add another API with a stringresult parameter. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
