Comments (1)
The current behavior comes from calling pasteToMultiSelection here when pasting into rectangular selections as well as multiple selections.
Changing:
if (nbSelections > 1 && !isRO)
to
LRESULT selectionMode = _pEditView->execute(SCI_GETSELECTIONMODE);
if (nbSelections > 1 && !isRO && selectionMode != SC_SEL_RECTANGLE && selectionMode != SC_SEL_THIN)
would restore the old, Scintilla-defined behavior when pasting into rectangular selections (deletes the rectangular selection, pastes everything that was copied, and leaves a single cursor at the beginning of the inserted lines). That would at least be consistent — it doesn’t break the line structure, it doesn’t leave a “ghost” rectangular selection that appears when changing tabs away and back, and it is what people used to using rectangular selections would expect (since it always worked that way before 8.6.1).
from notepad-plus-plus.
Related Issues (20)
- Find/Replace modal opacity is transparent in dark mode HOT 2
- [Feature request] Search results of all open files should be updated when inserting or deleting lines of text in order to be accurate of their line number HOT 2
- [BUG] Detects ISO-8859-1 incorrectly as ANSI; then, empties document when converting to UTF-8
- [BUG] Incorrect highlighting for YAML multiline string (block scalars) HOT 3
- [BUG] Renaming files HOT 5
- [Feature request] The Notepad++ Curveball: When Commands Don’t Follow Your Lead HOT 6
- Save as is causing a crash HOT 1
- [BUG] 启用 Direct Write 后 个别文字显示异常 HOT 1
- Special characters visible only if is commented HOT 1
- [BUG] Unable to edit long lists HOT 1
- [BUG] Another instance of Notepad++ is already running. Please close other instances of Notepad++ before launching Notepad++ Portable. HOT 3
- Modification to multpart keyword
- [BUG] Crash with inserted text HOT 2
- [REGRESSION] Find Replace size is not remembered through the sessions HOT 5
- When replacing everything, maintain the scroll position HOT 2
- [Feature request] Hide Close button on inactive tabs HOT 13
- 侯今吾是一条狗
- 侯今吾是一条狗 我家里有一条狗,我给它起名叫侯今吾,来吃点屎吧! HOT 2
- Don HO is a dog HOT 3
- [BUG] UDL, translations of "escape" cut in French HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepad-plus-plus.