Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Searching for \n is startling #130

Open

Description

@kevinsawicki

I know this results are technically accurate but maybe we can change the presentation or simply ignore searching for an empty \n.

screen shot 2014-02-12 at 1 16 45 pm

Activity

  1. benogle commented on Feb 12, 2014

    @benogle
    Contributor

    Gnar

  2. hkdobrev commented on Feb 28, 2014

    @hkdobrev

    You should definitely not ignore searching for \n. I'm constantly using it in Find & Replace. Changing the presentation would be nice.

    One way is to use a Return-like arrow ↵ (U+21B5) or a Pilcrow - the paragraph symbol ¶ (U+00B6, ¶) and highlight them.

  3. jdavisclark commented on Mar 1, 2014

    @jdavisclark

    @hkdobrev +1.

    It is definitely startling, but ignoring it probably isn't the way to go

  4. AfzalivE commented on Mar 7, 2014

    @AfzalivE

    That's not really correct. This is what Sublime shows for the same search.

    Only if you do "\n " (with the space) should it highlight spaces. It should also NOT highlight the rest of the line since the \n character is only present once at the end after the last character.

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions