Changeset 18180 for branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views/3.3/StringConvertibleArrayView.cs
- Timestamp:
- 01/10/22 10:15:25 (2 years ago)
- Location:
- branches/3138_Shape_Constraints_Transformations
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3138_Shape_Constraints_Transformations
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Data.Views (added) merged: 18165-18166
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views/3.3
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Data.Views/3.3 (added) merged: 18165-18166
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views/3.3/StringConvertibleArrayView.cs
r17180 r18180 156 156 } 157 157 private void lengthTextBox_KeyDown(object sender, KeyEventArgs e) { 158 if (e.KeyCode == Keys.Enter || e.KeyCode == Keys.Return) 158 if (e.KeyCode == Keys.Enter || e.KeyCode == Keys.Return) { 159 159 lengthLabel.Focus(); // set focus on label to validate data 160 if (e.KeyCode == Keys.Escape) { 160 e.SuppressKeyPress = true; 161 } else if (e.KeyCode == Keys.Escape) { 161 162 lengthTextBox.Text = Content.Length.ToString(); 162 163 lengthLabel.Focus(); // set focus on label to validate data 164 e.SuppressKeyPress = true; 163 165 } 164 166 } … … 249 251 clipboardText = clipboardText.Remove(clipboardText.Length - Environment.NewLine.Length); //remove last newline constant 250 252 251 var lines = clipboardText.Split(new 253 var lines = clipboardText.Split(new[] { Environment.NewLine }, StringSplitOptions.None); 252 254 var tabSep = new[] { '\t' }; 253 255 if (lines.Length > 2) {
Note: See TracChangeset
for help on using the changeset viewer.