Enhancement - caseless substitution

- Substitutions "task <id> /from/to/" now obey the rc.search.case.sensitive
  setting.
This commit is contained in:
Paul Beckingham 2010-01-27 12:26:06 -05:00
parent 9cab749016
commit 0c5a71b02f
5 changed files with 203 additions and 20 deletions

View file

@ -649,15 +649,19 @@ int handleConfig (std::string &outs)
// These are the regular configuration variables.
// Note that there is a leading and trailing space, to make searching easier.
std::string recognized =
" annotations blanklines bulk calendar.details calendar.details.report calendar.holidays "
"calendar.legend color color.active color.due color.overdue color.pri.H color.pri.L "
"color.pri.M color.pri.none color.recurring color.tagged color.footnote color.header "
"color.debug color.alternate color.calendar.today color.calendar.due color.calendar.overdue "
"color.calendar.weekend color.calendar.holiday color.calendar.weeknumber confirmation "
"curses data.location dateformat dateformat.holiday dateformat.report debug default.command "
"default.priority default.project defaultwidth due locale displayweeknumber echo.command "
"fontunderline locking monthsperline nag next project shadow.command shadow.file shadow.notify "
"weekstart editor import.synonym.id import.synonym.uuid complete.all.projects complete.all.tags "
" annotations blanklines bulk calendar.details calendar.details.report "
"calendar.holidays calendar.legend color color.active color.due "
"color.overdue color.pri.H color.pri.L color.pri.M color.pri.none "
"color.recurring color.tagged color.footnote color.header color.debug "
"color.alternate color.calendar.today color.calendar.due "
"color.calendar.overdue color.calendar.weekend color.calendar.holiday "
"color.calendar.weeknumber confirmation curses data.location dateformat "
"dateformat.holiday dateformat.report debug default.command "
"default.priority default.project defaultwidth due locale "
"displayweeknumber echo.command fontunderline locking monthsperline nag "
"next project shadow.command shadow.file shadow.notify weekstart editor "
"import.synonym.id import.synonym.uuid complete.all.projects "
"complete.all.tags search.case.sensitive "
#ifdef FEATURE_SHELL
"shell.prompt "
#endif