mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-24 04:02:36 +01:00
parent
0d45a60a75
commit
3a14913b98
@ -610,6 +610,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
listView1.Select();
|
||||
|
||||
AcceptButton = buttonNextFinish;
|
||||
textBoxListViewText.AcceptsReturn = true;
|
||||
}
|
||||
|
||||
private void FixLargeFonts()
|
||||
|
@ -50,7 +50,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
text = text.Replace(" ", " ");
|
||||
text = text.Replace("<i> ", " <i>");
|
||||
text = text.Replace(" </i>", "</i> ");
|
||||
text = text.Replace("</i> <i>", " ");
|
||||
text = text.Replace("</i> <i>", " ");
|
||||
text = text.Replace(" ", " ");
|
||||
|
||||
return text.Trim();
|
||||
@ -67,7 +67,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
}
|
||||
|
||||
var beforeHasLetter = i > 0 && !Separators.Contains(matches[i - 1].Text);
|
||||
var afterHasLetter = i < matches.Count -1 && !Separators.Contains(matches[i + 1].Text);
|
||||
var afterHasLetter = i < matches.Count - 1 && !Separators.Contains(matches[i + 1].Text);
|
||||
if (beforeHasLetter || afterHasLetter)
|
||||
{
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user