Issue #354 resolved

* on selection highlights word but not if word with punctuation

Anonymous created an issue

While /content highlights all three instances of content in:

...We're waiting for content before the site can go live... ...If you are content with this, let's go ahead with it... ...We'll launch as soon as we have the content...

When * is performed with the cursor over the first content, only the first two are highlighted. This is inconsistent with Vim. Both should highlight all three as the last one only is different by punctuation.

Comments (4)

  1. Frank Fischer repo owner

    Start word search with word at point, not symbol (fix #356)

    Word search now uses the buffer's definition of a "word" to determine the boundaries of the object at point to be searched for. This is consistent with the generated search pattern that uses word boundaries \< ... > and not symbol boundaries _< ... _> due to a recent change 6d3d4df57e81.

    This addresses #354.

    → <<cset fcadba79e183>>

  2. Frank Fischer repo owner

    Start word search with word at point, not symbol (fix #356)

    Word search now uses the buffer's definition of a "word" to determine the boundaries of the object at point to be searched for. This is consistent with the generated search pattern that uses word boundaries \< ... > and not symbol boundaries _< ... _> due to a recent change 6d3d4df57e81.

    This addresses #354.

    → <<cset fcadba79e183>>

  3. Log in to comment