lambda-nvda / lambdaNvda

NVDA Add-On for LAMBDA Software
GNU General Public License v2.0
5 stars 4 forks source link

If no contents in the current line, NVDA+d inserts the clipboard text #54

Closed ivnc closed 4 years ago

ivnc commented 5 years ago

Steps to reproduce

  1. Open LAMBDA and ensure that the 'lambda' profile is active.
  2. Put some text on the clipboard, for instance, "Hello" or even a multi-line text.
  3. With no contents on the document or with the caret in a blank line, press NVDA+d.

Observed behavior

A new line is created and the addon inserts the clipboard text (pastes it).

Expected behavior

To do nothing or to display an error in these cases. This is not a bug, but a little enhancement.

Testing environment

NVDA 2018.4.1 LAMBDA 1.44 LAMBDA add-on 1.2.2-dev (identical to 1.2.2 stable) Windows 10 version 1809 (build 17763.348)