Giter Site home page Giter Site logo

remove_dup_lines's People

Contributors

chcg avatar gurikbal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

remove_dup_lines's Issues

Plugin results in attempt to access C:\windows\win.ini

Thank you for this excellent plugin!

Description of the Issue

Notepad++ v7.8.2 will try to access c:\windows\win.ini when 'Remove Duplicate Lines' plugin v1.2.0.0 is installed. This does not happen when the plugin is not installed.

Steps to Reproduce the Issue

  1. Download and run FileAccessErrorView from https://www.nirsoft.net/utils/file_access_error_view.html (it's portable - no installation needed)
  2. Download NPP 32-bit portable edition v7.8.2 and extract it into a folder named NPPTEST
  3. Download Remove Duplicate Lines (Remove_dup_lines_x86.zip) v1.2.0.0
  4. Extract Remove_dup_lines_x86.zip into NPPTEST\plugins\Remove Duplicate Lines
  5. Open NPP
  6. Close NPP
  7. Notice in FileAccessErrorView that Notepad++ tries to access C:\windows\win.ini

This does not happen when this plugin is not installed.

Expected Behavior

Not try to access c:\windows\win.ini

Actual Behavior

NPP tries to access c:\windows\win.ini

Debug Information

Notepad++ v7.8.2 (32-bit)
Build time : Dec 4 2019 - 01:36:59
Path : ..\NPPTEST\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 7 (64-bit)
OS Build : 7601.0
Plugins : Remove Duplicate Lines.dll

removes CR\LF at the end of selection

Description of the problem:

  • select text in a middle of a document
  • run Remove Dup Lines

the last CR/LF is the selected text is removed, moving anything below selected text UP.

Example:
Before:
Text Above
Selected Text 1
Selected Text 1
Selected Text 2
Selected Text 3
Text Below

After:
Text Above
Selected Text 1
Selected Text 2
Selected Text 3Text Below

The 'Text Below" moves to line above

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.