Coder Social home page Coder Social logo

Comments (5)

lee-dohm avatar lee-dohm commented on August 18, 2024

It seems like this is a duplicate of atom/snippets#59? You seem to mention as much in your comment:

atom/snippets#59 (comment)

from language-php.

lukasoppermann avatar lukasoppermann commented on August 18, 2024

@lee-dohm is this the same? Because here nothing is extended, it is just the highlight, so to me it looks very different. But If you say this highlight issue has the same root as the extending sat the end of something issue.

from language-php.

lee-dohm avatar lee-dohm commented on August 18, 2024

They're both occurring in PHP. They seem to both happen when pressing TAB after a double-s. I would be surprised if they are not the same root cause. I'll leave this open for now with the link between the two established.

from language-php.

lukasoppermann avatar lukasoppermann commented on August 18, 2024

@lee-dohm What do you mean double-s? This one is after an e in this case and it really does not matter what letter I have at the end. Do you misunderstand my problem by any chance? :) Ahh, well when I press tab after typing class this works fine for extending it. (This might be what was misunderstood?)

I attached a screenshot, to make it more clear maybe I am explaining it badly. What should be highlighted is [space]extends AnotherClassso it can easily be deleted.

IS highlighted:
screen shot 2014-10-30 at 06 44 21

SHOULD be highlighted:
screen shot 2014-10-30 at 06 46 07

from language-php.

kevinsawicki avatar kevinsawicki commented on August 18, 2024

The issue is that the two tab stops touch so when you edit one, it gets incorrectly included in the other since the next tab stop starts at the edge of where you are currently typing.

The quick fix is to make them not overlap, further than that would probably involve a solution that involves adding a new invalidation strategy to the text buffer's marker implementation.

from language-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.