]> git.lyx.org Git - features.git/commit
FindAdv: Special handling for \dot{i} and 'ß'
authorKornel Benko <kornel@lyx.org>
Sat, 9 Mar 2019 23:29:56 +0000 (00:29 +0100)
committerKornel Benko <kornel@lyx.org>
Sat, 9 Mar 2019 23:29:56 +0000 (00:29 +0100)
commitc041439c517e501f123eb12fe7af47e0929c5b53
treec995f5d5ef58da3e8da7b47f3f8876787644d341
parent99e216b78d252eb3701b51e43848668a8da51d24
FindAdv: Special handling for \dot{i} and 'ß'

Different behaviour in regexp{..} for 'İ' and 'ß':
1.) lowercase routine for 'İ' gives 'İ', so that if we are searching
  while ignoring case, the string '\dot{I}' is converted to '\dot{i}'.
  In this case we have to change it to 'İ' (instead of 'i', as one would expect).

2.) If 'ß' is inserted via keybord on fresh created regexp box it appears as \lyxmathsym{ß},
  if pasted from the lyx-screen it appears as \text{ß}
src/lyxfind.cpp