Changeset 17838 for stable/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
- Timestamp:
- 02/16/21 12:05:06 (4 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 17384-17386
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
r17181 r17838 209 209 } 210 210 211 private void errorListView_MouseClick(object sender, MouseEventArgs e) { 212 if (e.Button != MouseButtons.Left) return; 213 214 var item = errorListView.SelectedItems[0]; 215 var message = (CompilerError)item.Tag; 216 217 codeEditor.ScrollToPosition(message.Line, message.Column); 218 codeEditor.Focus(); 219 } 220 211 221 private void errorListView_MouseDoubleClick(object sender, MouseEventArgs e) { 212 if (e.Button == MouseButtons.Left) { 213 var item = errorListView.SelectedItems[0]; 214 var message = (CompilerError)item.Tag; 215 codeEditor.ScrollToPosition(message.Line, message.Column); 216 codeEditor.Focus(); 217 } 222 if (e.Button != MouseButtons.Left) return; 223 224 var item = errorListView.SelectedItems[0]; 225 var message = (CompilerError)item.Tag; 226 227 using (var dialog = new CompilerErrorDialog(message)) { 228 dialog.ShowDialog(this); 229 }; 218 230 } 219 231 #endregion
Note: See TracChangeset
for help on using the changeset viewer.