Skip to content

Custom word chars gets reset #2159

@dail8859

Description

@dail8859

Description of the Issue

Plugins are able to set a list of custom word chars (e.g. using SCI_SETWORDCHARS). When a link is double clicked this custom list of characters is reset.

Steps to Reproduce the Issue

  1. Have a file such as

    http://example.com
    $abc

  2. Double click the b. Only abc is selected. (which is expected behavior)

  3. Modify the word chars. For example use LuaScript and run

    editor.WordChars = editor.WordChars .. '$'

  4. Repeat step 2. Now $abc is selected.

  5. Double click the link.

  6. Repeat step 2 again. Now only abc is selected.

Expected Behavior

N++ should respect plugins setting a custom list of word chars.

Actual Behavior

The custom list of word chars is getting reset when clicking on links.

Debug Information

Notepad++ v6.9.2
Build time : May 18 2016 - 00:34:05
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS : Windows 7
Plugins : DoxyIt.dll LuaScript.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions