Rider/Push-To-Hint: support double press + holding Ctrl

GitOrigin-RevId: ac1da1599de24497ca3b98bfe1c3a84d1ed0eb6e
This commit is contained in:
Alexey.Berezhnykh
2024-09-27 23:59:14 +03:00
committed by intellij-monorepo-bot
parent 16ad6dea8a
commit 3286019377
3 changed files with 6 additions and 0 deletions

View File

@@ -1842,6 +1842,7 @@ com.intellij.openapi.editor.EditorSettings
- a:isWhitespacesShown():Z
- a:isWrapWhenTypingReachesRightMargin(com.intellij.openapi.project.Project):Z
- a:resetCamelWords():V
- a:resetWheelFontChangeEnabled():V
- a:setAdditionalColumnsCount(I):V
- a:setAdditionalLinesCount(I):V
- a:setAdditionalPageAtBottom(Z):V

View File

@@ -154,6 +154,7 @@ public interface EditorSettings {
boolean isWheelFontChangeEnabled();
void setWheelFontChangeEnabled(boolean val);
void resetWheelFontChangeEnabled();
boolean isMouseClickSelectionHonorsCamelWords();
void setMouseClickSelectionHonorsCamelWords(boolean val);

View File

@@ -511,6 +511,10 @@ class SettingsImpl internal constructor(private val editor: EditorImpl?, kind: E
state.myIsWheelFontChangeEnabled = `val`
}
override fun resetWheelFontChangeEnabled() {
state.clearOverriding(state::myIsWheelFontChangeEnabled)
}
override fun isMouseClickSelectionHonorsCamelWords(): Boolean {
return state.myIsMouseClickSelectionHonorsCamelWords
}