-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added find/replace box #9
base: release/1.1
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eduardosoprani , I added some comments to your code, hope it helps. Thank you for your contribution!
public SessionForm() | ||
{ | ||
InitializeComponent(); | ||
|
||
myFindReplace = new FindReplace(editor); // For WinForms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean code tips:
- Consider removing "my" prefix from the variable name, because it doesn't add value to the name, it's just noise. In this particular case, follow the convention and use "_findReplace".
- Remove the comment. It doesn't add any value to the code.
} | ||
else if (e.Control && e.KeyCode == Keys.G) | ||
{ | ||
GoTo MyGoTo = new GoTo((ScintillaNET.Scintilla)sender); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review variable naming, remove the prefix "My" and use camel Case for local variables: "goTo" in this case.
@@ -51,6 +51,9 @@ | |||
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | |||
<HintPath>..\..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> | |||
</Reference> | |||
<Reference Include="ScintillaNET FindReplaceDialog"> | |||
<HintPath>..\..\..\ScintillaNET-FindReplaceDialog\ScintillaNet FindReplaceDialog\bin\Release\ScintillaNET FindReplaceDialog.dll</HintPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix this :)
I can't merge your pull request because the build is broken by this problem.
No description provided.