FarManager
FarManager copied to clipboard
Окно поиска и замены: неправильно отформатирован исходный текст для замены
Если в поле поиска вставить таб, то после замены - отображается буква "о" в диалоге.
И что тут неправильно? Посмотрите как выглядит Tab в файле в режиме hex просмотра.
Я к тому, может показывать текст - как он выглядит в текстбоксе?
может показывать текст - как он выглядит в текстбоксе?
Sounds reasonable, but in the textbox it can be either "→ "
if Tab is the last character or " "
if not.
Should we use arrows or spaces?
Should we try to position tab stops correctly, e.g.:
01234567890123456789
→ a→ bb→ ccc→dddd
→ a→ b→ c→ d
, or just use N spaces, e.g.:
01234567890123456789
→ a→ bb→ ccc→ dddd
→ a→ b→ c→ d
? If "correctly", what should be the starting point? The beginning of the searched string (as in the dialog) or the beginning of the found string (as in the editor)?
Sounds reasonable,
Sounds questionable. Why only Tab? What about CR,LF,BELL,...? What about searching visualisation characters →, ... ?
IMO "unprintable" chars would be better to show by some "friendly" names like <TAB> or something similar. Use of any symbols will confuse.