• Particular Style & Theme for different text file formats

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Request] Spellchecker x64

    5
    1 Votes
    5 Posts
    5k Views
    chcgC

    https://github.com/Predelnik/DSpellCheck/releases/tag/v1.3.2 is bundled with N++ 7.5.3 also for x64.

  • PythonScript - how to access mouse coordinates?

    20
    0 Votes
    20 Posts
    8k Views
    Mikhail VM

    @Alan-Kilborn said:

    you just don’t want to use it to make Notepad++ more productive for yourself.

    What makes you think I don’t want to use it?
    Sure without alternatives I will use it, and if there’ll be a dedicated function
    I’ll use it instead, end of story.
    More important - what makes you think that scripting is there for myself?
    What if I want to write common features that can help a lot of people?
    Which is obviously the case with such functionality.
    And they probably already define the ‘DwellTime’ for pop-up tips or something? According to Scintilla docs that seems to be the purpose. (though I haven’t
    tested it yet).

    To me that seems a bit crazy.

    No comment

    Complainers never win…those that DO win. Whiners never even get noticed, even when they have a legit complaint.

    If that was adressed to me - then, mr. philosopher, tell me who are those
    who complain about “complainers” and make arbitrarily labeling?

  • File Name Duplicates tags

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Scott SumnerS

    @John-Magdy

    IMO not sure what good adding a “tag” is, because it has no real meaning, other than saying “look at me, there’s another file open with the same name but in a different path”. Maybe some other non-numbered means could be employed on the tab to notify the user of this situation? An asterisk on the tab maybe (although maybe not because convention with that in other programs might be a changed-but-not-saved file…)

    So in your example the (1) and (2) are really meaningless tags. They become meaningful to you, I guess, after you work back and forth between them a few times, editing text in each one–in your mind you will associate 1 with the Juice file and 2 with San Andreas.

    The following doesn’t extend to more than 2 files with the same name, but why not open one of your files in the secondary view (right-click tab, choose Move to Other View)? Thus you will have one in the primary, one in the secondary, where it is probably just as easy to remember which one is in view 1 and which is in view 2…as it would be to see those numbers on the tabs.

  • Run python script (pythonscript plugin) with a shortcut?

    8
    1 Votes
    8 Posts
    10k Views
    Claudia FrankC

    @V-S-Rawat

    Do you use the standard icons for toolbox?
    Settings->Preferences->General->Toolbox

    Do you see an icon if you add the script to the toolbar section?
    (within python script shortcut configuration window)

    Cheers
    Claudia

  • Footer Sel: to include word count

    Locked
    4
    1 Votes
    4 Posts
    5k Views
    WhoCanDoW

    Excellent information Scott. Thanks for the great ideas.

  • Certificate required for building Notepad++ ?

    8
    0 Votes
    8 Posts
    11k Views
    SinghRajenMS

    Though little late in reply, but no change needed, if you are dealing with debug build (most of developers deals with debug version). Digital signature checking is guarded now.

    HMODULE loadSciLexerDll() { generic_string sciLexerPath = getSciLexerFullPathName(moduleFileName, 1024); // Do not check dll signature if npp is running in debug mode // This is helpful for developers to skip signature checking // while analyzing issue or modifying the lexer dll #ifndef _DEBUG bool isOK = VerifySignedLibrary(sciLexerPath, SCINTILLA_SIGNER_KEY_ID, SCINTILLA_SIGNER_SUBJECT, SCINTILLA_SIGNER_DISPLAY_NAME, false, false); if (!isOK) { ::MessageBox(NULL, TEXT("Authenticode check failed: signature or signing certificate are not recognized"), TEXT("Library verification failed"), MB_OK | MB_ICONERROR); return nullptr; } #endif // !_DEBUG return ::LoadLibrary(sciLexerPath.c_str()); }
  • [New Plugin] CSV Query v1.0.1 - Use SQL queries against CSV files

    19
    0 Votes
    19 Posts
    23k Views
    joakim wennergrenJ

    Yeah, the header detection needs improvement.
    The goal with CsvQuery has always been to detect everything automatically, usually (e.g. Excel and SQL Server) when reading CSV you always have to enter separator char, “has header row” etc.

    But this detection can be tricky.
    It works by reading 20 lines or so, and try to guess the type of each column.
    If the first row had only strings, but all other rows had at least one (common) number column, it assumes the file has a header row. Yeah, not exactly foolproof. There is a reason the only issues in github right now is Better detect header row and Add “has header row” to Manual Parse Settings (so you can force it when it guess wrong) :P

    And yes, the MSSQL code use a different header detector right now, since I’m writing a generic one both can use, but the SQLite code still use the old detection.

    Regarding the “already an object named ‘this’” error - yeah, bug. SQLite is much more forgiving than MSSQL :)

    I’m curious if you determine data types in the plugin, or does sqlite make it’s own guess? How does it know what type to make a column when it imports the csv into SQL Server?

    In MSSQL there is currently no (working) type detection. SQLite doesn’t have column types, everything is strings. So “Sum()” etc is done by type converting on the fly. Apparently SQLite can handle euro :)

  • [NEW PLUGIN] RTL manager

    13
    0 Votes
    13 Posts
    7k Views
    Persia CrP

    Many many thanks, i looking for something like it for long time…
    Best wishes for you

  • Cannot access encrypted file after updating to 1.0.1.5

    2
    0 Votes
    2 Posts
    2k Views
    chcgC

    Add your issue at https://github.com/jeanpaulrichter/nppcrypt/issues to get the necessary attention.

  • Scrolls down after autosaving

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @OrangutanGaming

    Stop using Autosave? :-D
    Or better, report the bug to the Autosave plugin author.

  • [Plugin Update] NppGTags v4.3.0

    10
    0 Votes
    10 Posts
    6k Views
    cmeriauxC

    @pnedev
    Thanks for the tips. Now it works.
    I think I was confused with the two parameters “generic database config” and “current database config”

    I’ll use it for several days and i’ll get back to you for some suggestions.

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • NPP C# plugin - How to perform basic operations on a text file

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hi @Alessandro

    when interacting with scintilla control the Scintilla documentation is a good starting point.

    The concept is 99% like this, you send a message (the SCI_…) and either you get an immediate
    return or/and you will be notified by the so called notifications.

    The remainig 1% is it doesn’t work as expected. ;-)

    When interacting with gui aka notepad++ then you need to get an understanding
    how windows applications work in general. The main topic here is windows messages.

    Cheers
    Claudia

  • Error in update DSPellCheck to 1.3.1

    6
    0 Votes
    6 Posts
    4k Views
    Memo RandomM

    Thanks for the updates (>here<, with the clarification, and >there< with the new version 1.3.2). I updated to 1.3.2 as normal.

    Also, thanks for making the useful plugin in the first place.

    Interesting point about 32- vs. 64-bit plugins. I have been using 32-bit Notepad++ on my 64-bit system, a conservative approach, because I assume the availability and stability of 32-bit plugins is better than of 64-bit plugins.

  • How to hook a mouse click?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Eric-Jorgensen

    the basic steps are

    get the handle from the active scintilla control register a new window procedure for this control/window (SetWindowLong) check for the mesage WM_LBUTTONDOWN always pass all messages to the old window procedure (CallWindowProc)

    Cheers
    Claudia

  • NppExec Execute Batch containing Powershell worked on XP, doesn't on 7

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Tom LeggT

    The PCs aren’t really converted. My local PC is XP, but the new VM I’m on is Windows 7, and I just copied over as many settings as possible. Most people do just double click the batches, which works fine, but there are two people (myself included) that tend to create the batches, and it’s more convenient to be able to do the testing with a shortcut from within Notepad++ rather than having to go back to the folder and double click the batch between each change. If the batch doesn’t need to be edited before running then we always are just double clicking the batch, but some also have variables that we need to set before running.

    I did end up finding the solution on another site though! I ended up needing to run Set-ExecutionPolicy RemoteSigned from both C:\Windows\system32\cmd.exe and C:\Windows\SysWOW64\cmd.exe and then everything work correctly. I appreciate the replies to try to help me figure this out.

  • Project Panel API?

    5
    0 Votes
    5 Posts
    3k Views
    DavesDSMhackD

    I think that’s exactly the information I to get started. I figured Claudia-Frank would have already posted something along those lines before. Thank you for finding those Scott!

  • NPP C# plugin template for UNICODE

    6
    0 Votes
    6 Posts
    7k Views
    acrolinkA

    @Alessandro Thanks, in fact compiling in VS 2015 solved the issue.

  • plugin idea

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied