Add a theme section in the configuration file to allow users to
set the colors used by different elements of the ui.
Improve the update mechanism so that incremental changes to the
configuration file can be incorporated.
ui.error("no citekey named or beginning with '{}'".format(color.dye_out(citekey,color.citekey)))
ui.error("no citekey named or beginning with '{}'".format(color.dye_out(citekey,'citekey')))
ifexit_on_fail:
ifexit_on_fail:
ui.exit()
ui.exit()
eliflen(citekeys)==1:
eliflen(citekeys)==1:
ifcitekeys[0]!=citekey:
ifcitekeys[0]!=citekey:
ifuiisnotNone:
ifuiisnotNone:
ui.warning("provided citekey '{}' has been autocompleted into '{}'".format(color.dye_out(citekey,color.citekey),color.dye_out(citekeys[0],color.citekey)))
ui.warning("provided citekey '{}' has been autocompleted into '{}'".format(color.dye_out(citekey,'citekey'),color.dye_out(citekeys[0],'citekey')))