Skip to content

Improve tooltip positioning logic

Leia uwu requested to merge leo/kate:improve-tooltip-positioning into master

Now it will snap to the word the cursor is hovering instead of cursor position, this is what other editors like vscode do

And also won't overlap the word being hovered

first window of the video is this MR, second window is master

I kept the default tooltip position to be bellow the word to be closer to old behavior of being bellow cursor but most editors seem to make the tooltip show on top of the word when there's enough space, thoughts on changing it to that?

Edited by Leia uwu

Merge request reports

Loading