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

[v.7.8.6 regression] Vertical Edge Settings no longer works with Split Lines (Ctrl-I) #8262

Closed
mhya2020 opened this issue May 13, 2020 · 5 comments
Assignees
Labels

Comments

@mhya2020
Copy link

Description of the Issue

v.7.8.6 introduced the ability to have multiple Vertical Edges, but it breaks an existing
feature, i.e. Split Lines (Ctrl-I) no longer works with single Vertical Edge.

Steps to Reproduce the Issue

  1. Settings/Preferences/Editing/Vertical Edge Settings: enter a single number, e.g. 80, into the text box.
  2. Leave "Background mode" unchecked.
  3. Enter text with more than 80 characters in a single line
  4. press Ctrl-I (Split Lines)

Expected Behavior

The single line is expected to split into multiple lines, where each line is less than 80 characters long.

Actual Behavior

Nothing happened after pressing Ctrl-I.

Debug Information

Notepad++ v7.8.6 (32-bit)
Build time : Apr 21 2020 - 15:17:06
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 1909
OS Build : 18363.778
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

image

@mhya2020
Copy link
Author

N++ Community discussion thread here

@mhya2020
Copy link
Author

Workaround: Settings/Preferences/Editing/Vertical Edge Settings: tick the "Background mode" box.

This will bring back the "Split Lines (Ctril-I)" function. Thereafter, you can uncheck "Background mode" box and Split Lines will continue to work.

@rickd67
Copy link

rickd67 commented Jul 9, 2020

I have a similar issue.. But doesn't involve "Split Lines" at all:
I used 80 for "Vertical Edge" in past.
When I encountered "You can define Several Column Markers..." I thought great now I can do 132 also for "comments edge"...
At first it seemed to work perfectly.
Later I noticed that the "Vertical Edge" was in the wrong place: 89! (See attached screen capture).
When I tried to reset to old way (Single Column Marker):
a) found previously mentioned extra space after 80 (removing it=no help)
b) cannot put Vertical Edge in correct position, Unless I use 71!
c) out of curiosity, I tried putting back the 132 edge, but as I types 1, 3, 2... I noticed:
i) after I had typed "80 1": the "2nd line" appeared in the correct position (between 1st & 2nd char.)
ii) after I had typed "80 13": the "2nd line" moved to an incorrect position (right in the middle of the 15th char.)
iii) after I had typed "80 132": the "2nd line" moved to an incorrect position (between 147th & 148th char.)

Capture

I know, I know, this is a bit off-topic. But this multi-line feature is causing other issues...
As a programmer myself, I always like as much info as possible when talking bugs... Nough said!

@rd4gh
Copy link

rd4gh commented Jan 12, 2021

Hi,
I just want to add my support to have the prior function of Ctrl-I in 7.8.5 restored as an option -- Split lines at the Vertical Edge, no matter what the width of the window is. I use Notepad++ with wide windows a lot and often split only certain lines at 80 characters.

Thanks,
Ross

@sasumner
Copy link
Contributor

Additional Community link: https://community.notepad-plus-plus.org/topic/20581/restore-right-margin-word-wrap-as-in-7-8-5

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

Successfully merging a pull request may close this issue.

5 participants