mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Allow ASSA tag helper for all formats - thx OmrSi :)
This commit is contained in:
parent
5e1d587469
commit
338f81418e
@ -1213,9 +1213,9 @@ To use an API key go to "Options -> Settings -> Tools" to enter your Googl
|
||||
</ToolBar>
|
||||
<ContextMenu>
|
||||
<SizeAllColumnsToFit>Size all columns to fit</SizeAllColumnsToFit>
|
||||
<AdvancedSubStationAlphaSetStyle>Advanced Sub Station Alpha - set style</AdvancedSubStationAlphaSetStyle>
|
||||
<SubStationAlphaSetStyle>Sub Station Alpha - set style</SubStationAlphaSetStyle>
|
||||
<SetStyle>Set style</SetStyle>
|
||||
<SetActor>Set actor</SetActor>
|
||||
<SetOverrideTags>Set override tags</SetOverrideTags>
|
||||
<SubStationAlphaStyles>Sub Station Alpha styles...</SubStationAlphaStyles>
|
||||
<AdvancedSubStationAlphaStyles>Advanced Sub Station Alpha styles...</AdvancedSubStationAlphaStyles>
|
||||
<TimedTextSetRegion>Timed Text - set region</TimedTextSetRegion>
|
||||
|
@ -9823,13 +9823,13 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
return;
|
||||
}
|
||||
|
||||
if (_shortcuts.MainTextBoxAssaIntellisense == e.KeyData && IsAssa())
|
||||
if (_shortcuts.MainTextBoxAssaIntellisense == e.KeyData)
|
||||
{
|
||||
_intellisenceList = DoIntellisense(textBoxListViewText, _intellisenceList);
|
||||
e.SuppressKeyPress = true;
|
||||
return;
|
||||
}
|
||||
else if (_shortcuts.MainTextBoxAssaRemoveTag == e.KeyData && IsAssa())
|
||||
else if (_shortcuts.MainTextBoxAssaRemoveTag == e.KeyData)
|
||||
{
|
||||
MakeHistoryForUndo("text change"); //TODO: fix language tag
|
||||
AssaTagHelper.RemoveTagAtCursor(textBoxListViewText);
|
||||
@ -25615,13 +25615,13 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
return;
|
||||
}
|
||||
|
||||
if (_shortcuts.MainTextBoxAssaIntellisense == e.KeyData && IsAssa())
|
||||
if (_shortcuts.MainTextBoxAssaIntellisense == e.KeyData)
|
||||
{
|
||||
_intellisenceListOriginal = DoIntellisense(textBoxListViewTextOriginal, _intellisenceListOriginal);
|
||||
e.SuppressKeyPress = true;
|
||||
return;
|
||||
}
|
||||
else if (_shortcuts.MainTextBoxAssaRemoveTag == e.KeyData && IsAssa())
|
||||
else if (_shortcuts.MainTextBoxAssaRemoveTag == e.KeyData)
|
||||
{
|
||||
MakeHistoryForUndo("text change"); //TODO: fix language tag
|
||||
AssaTagHelper.RemoveTagAtCursor(textBoxListViewTextOriginal);
|
||||
|
@ -4027,6 +4027,27 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "Main/Menu/ContextMenu/SizeAllColumnsToFit":
|
||||
language.Main.Menu.ContextMenu.SizeAllColumnsToFit = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/SetStyle":
|
||||
language.Main.Menu.ContextMenu.SetStyle = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/SetActor":
|
||||
language.Main.Menu.ContextMenu.SetActor = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/SetOverrideTags":
|
||||
language.Main.Menu.ContextMenu.SetOverrideTags = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/SubStationAlphaStyles":
|
||||
language.Main.Menu.ContextMenu.SubStationAlphaStyles = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/AdvancedSubStationAlphaStyles":
|
||||
language.Main.Menu.ContextMenu.AdvancedSubStationAlphaStyles = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/TimedTextSetRegion":
|
||||
language.Main.Menu.ContextMenu.TimedTextSetRegion = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/TimedTextSetStyle":
|
||||
language.Main.Menu.ContextMenu.TimedTextSetStyle = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/TimedTextStyles":
|
||||
language.Main.Menu.ContextMenu.TimedTextStyles = reader.Value;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user