Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Error while duplicating code (CTRL+D) #35

Closed
ccleaud opened this issue Dec 21, 2015 · 1 comment
Closed

Error while duplicating code (CTRL+D) #35

ccleaud opened this issue Dec 21, 2015 · 1 comment

Comments

@ccleaud
Copy link

ccleaud commented Dec 21, 2015

Hi,

Considering a file containing only this:

        RUN ScanInternalProcsAndFunctions (   INPUT ipiIdCarto,
                                              INPUT iphFSConfig,
                                              INPUT procarto.Appli.IdAppli,
                                              INPUT procarto.Prog.FichierParsing,
                                              INPUT procarto.Prog.FichierXref,
                                              OUTPUT liCountProcedure,
                                              OUTPUT liCountFunction).

Select all the file and press CTRL+D.
Two bad behaviors:

  • it overrides the scintilla keyboard to duplicate text
  • it pops an error window
@jcaillon
Copy link
Owner

Yeah my bad, the version i sent you yesterday contained a shortcut CTRL+D linking to a Test() method...

it overrides the scintilla keyboard to duplicate text
This is totally intended.

You can change any plugin's shortcut from the npp menu (you will be able to do it from the application later on). Setting up shortcuts in Npp is a huge pain in the ass, i hook the keyboard events to be able to overwrite default Npp shortcuts. You can still access them, just change the shortcut for the 3P feature.

CTRL+D will never be used by 3P, this is only for a test!!

jcaillon added a commit that referenced this issue Dec 21, 2015
- Fix several minor bugs (from the auto generated report)
- Fixed lexer to correctly read end of statement again (was broken at the last commit)
- Corrected issues : #32, #29, #33, #27, #36, #35, #32,
- Now correctly handles errors if 3P failed to write in userDefineLang.xml (which would cause 3P to fail loading)
- #41 : adding support for the key word EDITING (code folding + correct block indentation
- #39 : you can now open the main application window from any file (instead of only progress files before)
jcaillon referenced this issue Oct 21, 2017
- missing keyword : "FILE-INFO" as an abbreviation of "FILE-INFORMATION"
- Corrected a bug that caused the plugin to be enable to run normally when the user modified a file from an external editor and then reloaded it in npp

**New features**

Adding a disclaimer in the about page
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants