Forum > Options
Disable tooltip text under mouse while selecting text?
SuperSathanas:
I've already adjusted the delay for hints, and it works fine, I suppose, save for all the times now that I want the hint and I start thinking "all these half second delays sure are adding up." It's something I can live with, but also something that just rubs me wrong right now, probably because I've been working on some X11 windowing and input handling.
I see now that this has been mentioned in the bug tracker about 4 months ago.
Martin_fr:
Below patch (for main or 3.0) will suppress that hint. At least on Windows / not tested on others.
It's not a final solution. The test via capture is just a workaround, and needs to be improved.
--- Code: Diff [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---diff --git a/ide/sourceeditor.pp b/ide/sourceeditor.ppindex 7430d24da0..58d122a62c 100644--- a/ide/sourceeditor.pp+++ b/ide/sourceeditor.pp@@ -9476,10 +9476,18 @@ procedure TSourceNotebook.EndAutoFocusLock; procedure TSourceNotebook.EditorMouseMove(Sender: TObject; Shift: TShiftstate; X, Y: Integer);+var+ SrcEdit: TSourceEditor; begin Manager.FHints.HideAutoHintAfterMouseMoved;- if Visible then- Manager.FHints.UpdateHintTimer;+ if Visible then begin+ SrcEdit:=GetActiveSE;+ if SrcEdit.EditorComponent.Handle = Mouse.Capture+ then+ Manager.FHints.HideAutoHint+ else+ Manager.FHints.UpdateHintTimer;+ end end; procedure TSourceNotebook.EditorMouseWheel(Sender: TObject; Shift: TShiftState;
Navigation
[0] Message Index
[*] Previous page