• Footer Sel: to include word count

    Locked
    4
    1 Votes
    4 Posts
    6k 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
    25k 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
  • [Plugin Update] Analyse Plugin

    6
    1 Votes
    6 Posts
    10k Views
  • NppMenuSearch version 0.9.2 available

    Locked
    2
    2 Votes
    2 Posts
    2k Views
    chcgC

    @peter-frentrup Would it be possible to also provide a zipped version of the dlls to be able to add it to the pluginmanager which is currently just capable to handle zips and not plain dlls. Therefore a quite old version 0.7.5 is the last one available, see https://npppm.bruderste.in/plugins/view/nppmenusearch and non for x64, see https://github.com/bruderstein/npp-plugins-x64/blob/master/plugins/plugins_template.xml and https://github.com/bruderstein/npp-plugins-x64/blob/master/plugins/plugins64.xml

  • Access to Plugin Central

    Locked
    3
    0 Votes
    3 Posts
    7k Views
    PredelnikP

    Thank you for the response! Hope @donho will see this topic and fix it

  • Using Notepad++ for SQL

    Locked
    3
    0 Votes
    3 Posts
    107k Views
    Frank OrellanaF

    I recommend you use an online sql console so you can get started with sql, it will simulate a database where you can create tables, insert data into them and query them, for example:

    http://sqlfiddle.com/#!9/4bd6b/1

    Notepad++ is just a text editor so you will be able later to save and edit your sql files in it, but for learning you will need a database and start working with it.

  • NPPTextFX unicode??

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Meta ChuhM

    @patrickdrd
    if you didn’t find the textfx unicode plugin yet, you can download it here:
    https://sourceforge.net/projects/npp-plugins/files/TextFX/TextFX v0.26/