Fix #27319: Text editor "Find" does not locate words.
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 7 May 2011 17:52:44 +0000 (17:52 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 7 May 2011 17:52:44 +0000 (17:52 +0000)
commit471c28f91c489d40ae80561ce4d9629d2f152292
treede175451299ed2115202f761500e67161b656b08
parente239085f70173b631861e58aede62484e246246e
Fix #27319: Text editor "Find" does not locate words.

Added new option to find panel of space text which toggles
case-esensitive search.

Additional changes:
- Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier
  this prevents "sticked" markers which disappears on first redraw when
  search text wasn't found
- Do not show "Text wasn't found" error when text to be searched is contained
  in the end of buffer and it's selected. Replacing/marking used to happen, but
  this popup message was really annoying for this case.

TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator
release/scripts/startup/bl_ui/space_text.py
source/blender/blenkernel/BKE_text.h
source/blender/blenkernel/intern/text.c
source/blender/editors/space_text/text_ops.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_space.c