mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Changed default value for max single line length from 65 to 43 (can be changed in options)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@308 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
e8114f4272
commit
10baee3373
@ -279,7 +279,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
RememberSelectedLine = false;
|
||||
StartLoadLastFile = true;
|
||||
StartRememberPositionAndSize = true;
|
||||
SubtitleLineMaximumLength = 65;
|
||||
SubtitleLineMaximumLength = 43;
|
||||
AutoWrapLineWhileTyping = true;
|
||||
SubtitleMaximumCharactersPerSeconds = 25;
|
||||
SpellCheckLanguage = null;
|
||||
|
@ -2073,7 +2073,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
|
||||
internal static void CheckAutoWrap(TextBox textBox, KeyEventArgs e, int numberOfNewLines)
|
||||
{
|
||||
if (e.Modifiers == Keys.None && numberOfNewLines < 1 && textBox.Text.Length > Configuration.Settings.General.SubtitleLineMaximumLength - 3)
|
||||
if (e.Modifiers == Keys.None && numberOfNewLines < 1 && textBox.Text.Length >= Configuration.Settings.General.SubtitleLineMaximumLength)
|
||||
{
|
||||
if (Configuration.Settings.General.AutoWrapLineWhileTyping) // only if auto-break-setting is true
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user