- Timestamp:
- 04/06/21 13:13:32 (3 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace
- Files:
-
- 4 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace
- Property svn:mergeinfo changed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Scripting.Views/3.3/HeuristicLab.Scripting.Views-3.3.csproj
r16658 r17928 97 97 <Compile Include="CSharpScriptView.Designer.cs"> 98 98 <DependentUpon>CSharpScriptView.cs</DependentUpon> 99 </Compile> 100 <Compile Include="CompilerErrorDialog.cs"> 101 <SubType>Form</SubType> 102 </Compile> 103 <Compile Include="CompilerErrorDialog.Designer.cs"> 104 <DependentUpon>CompilerErrorDialog.cs</DependentUpon> 99 105 </Compile> 100 106 <Compile Include="ExecutableScriptView.cs"> -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Scripting.Views/3.3/ScriptView.Designer.cs
r17180 r17928 184 184 this.errorListView.UseCompatibleStateImageBehavior = false; 185 185 this.errorListView.View = System.Windows.Forms.View.Details; 186 this.errorListView.MouseClick += new System.Windows.Forms.MouseEventHandler(this.errorListView_MouseClick); 186 187 this.errorListView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.errorListView_MouseDoubleClick); 187 188 // -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
r17180 r17928 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.