Skip to content
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

Unselecting the first word from a selection block, make all first line selection disappear #2345

Closed
evandrocoan opened this issue Jun 1, 2018 · 2 comments

Comments

@evandrocoan
Copy link

evandrocoan commented Jun 1, 2018

Expected behavior

from something import Any
from something import Thing
from something import You
from something import Want

Actual behavior

from something import Any, Thing, You, Want
from something import Thing
from something import You
from something import Want

Steps to reproduce

  1. Set the setting "drag_text": false
  2. Create the sample text:
    from something import Any, Thing, You, Want
    from something import Any, Thing, You, Want
    from something import Any, Thing, You, Want
    from something import Any, Thing, You, Want
  3. Select this block:
    Any, Thing, You, Want
    Any, Thing, You, Want
    Any, Thing, You, Want
    Any, Thing, You, Want
  4. With you mouse configured to use the command command: drag_select {"event": {"button": 1, "x": 997.5, "y": 341.5}, "subtractive": true}. Usually this command is triggered by Alt+Mouse Right button click. Unselect one word from each line and delete the reaming selection:
    Any
    Thing
    You
    Want
  5. Live example:
    back1

Environment

  • Operating system and version:
    • Windows 10 build 15063 x64
    • Mac OS ...
    • Linux ...
  • Monitor:
    • Resolution 1920x1080
    • dpi_scale used in ST 1.0
  • Sublime Text:
    • Build 3174
    • 32 bit

Related threads

  1. Linux: selection reset when text selected in another app or even another view in ST Linux: selection reset when text selected in another app or even another view in ST #1022
@Ultra-Instinct-05
Copy link
Contributor

I can't reproduce this in safe mode anymore on ST Build 4094, Windows 10 Build 10.0.18362 after setting drag_text: false in user preferences.

example_1

@BenjaminSchaaf
Copy link
Member

Fixed in Sublime Text 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants