User forums > Using Code::Blocks
Right-Click unselects highlighted text
rickg22:
Thanks a lot! What sourcefiles did you change? Did you update the sourceforge bug?
thomas:
--- Quote from: rickg22 on October 31, 2005, 04:38:08 pm ---What sourcefiles did you change?
--- End quote ---
cbEditor.h:
--- Code: --- bool cbEditor::OnBeforeBuildContextMenu(bool noeditor)
{
if (!noeditor)
{
cbStyledTextCtrl* control = Manager::Get()->GetEditorManager()->....
int pos = control->PositionFromPoint(control->ScreenToClient(wxGetMousePosition()));
- control->GotoPos(pos);
+ if(control->GetSelectionStart() > pos || control->GetSelectionEnd() < pos)
+ control->GotoPos(pos);
}
...
}
--- End code ---
--- Quote from: rickg22 on October 31, 2005, 04:38:08 pm ---Did you update the sourceforge bug?
--- End quote ---
Uhh.... no admin rights? ;)
rickg22:
You just have to be logged in. I gave you technician privileges, so you can close the bug and mark it "fixed".
Edit: Hmmm... Thomas just send me a screenshot. Are *only* admins allowed to change bugs' status? (I closed the bug anyway)
Navigation
[0] Message Index
[*] Previous page
Go to full version