Sublime Forum

Autocomplete not working when the occurrences scroll down the page

#1

Hi,
I discovered a strange behavior of auto-complete.
I’m using the version 3.1.1 (Build 3176).

If I select something at the top of the file, then doing CTRL+D to multiple select another occurrence, if the second occurrence is in the next page (in sense of scrolling down the file) the auto-complete does not appear.

To replicate that, follow these steps:

  1. position the cursor an the top most of the file
  2. select “bbbbb”
  3. press CTRL+D
  4. digit “a”
    then the auto-complete must appear suggesting “aaaaa”

Example of file with auto-complete working:

<?php
$aaaaa;
$bbbbb;
$bbbbb;
?>

Example of file with auto-complete not working:

<?php
$aaaaa;
$bbbbb;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
$bbbbb;
?>

The strange thing is that if I first select the “bbbbb” at the bottom of the file, the auto-complete appears.

How to fix that?

Thanks a lot!

0 Likes

#2

I would guess the autocompletion would be shown at the location of the first selected text, which is off-screen, so it doesn’t appear

0 Likes

#3

If It’s as you say, It’s useless.
If I scroll up, there isn’t the auto-complete dialog.

In the previous version It was always showed in the visible occurrence (If I correct remember, also at every occurrence!).

0 Likes