Code Monkey home page Code Monkey logo

Comments (9)

Miguel-F avatar Miguel-F commented on August 15, 2024 1

@sean-codes thanks for that! Commenting out those lines fixed that weird issue for me as well. Highlighting and scrolling of .cfc's appears to be functioning again. To be clear, I did not apply the changes to the other file in the pull request html-cfml-spec.js. There seems to be some more differences between my file and the ones hosted here. Not sure why?

Dang it! Never mind. I just realized I was comparing to the wrong file.

from atom-language-cfml.

amyers735 avatar amyers735 commented on August 15, 2024 1

@sean-codes thank you! The activateItem() lines were not necessary. I have amended the pull request.

from atom-language-cfml.

amyers735 avatar amyers735 commented on August 15, 2024

Sorry my pull requests have not fixed this.

Any help appreciated

from atom-language-cfml.

infernocloud avatar infernocloud commented on August 15, 2024

I've found that opening my files with the plugin disabled, and then activating it, will get syntax highlighting to work and scrolling works.

Then opening another file with the plugin enabled lets me scroll through it but the highlighting is not right.

from atom-language-cfml.

Miguel-F avatar Miguel-F commented on August 15, 2024

I am experiencing this issue as well as the scrolling issue. On the scrolling issue, it will not allow you to scroll down beyond the current cursor position when using the mouse scroll wheel. Using the keyboard (page-up/page-down, arrows) does seem to work normally.

from atom-language-cfml.

amyers735 avatar amyers735 commented on August 15, 2024

Are you able to make the changes from #113 in your ~/.atom/packages/language-cfml/lib/languageCFML.js file please?

I'm curious to know if that also fixes the scrolling issue. I wasn't aware of this and my fix only addressed the syntax issue, but I wonder if they may have been different symptoms of the same cause.

from atom-language-cfml.

Miguel-F avatar Miguel-F commented on August 15, 2024

I made the changes to my languageCFML.js file and it does indeed seem to fix both issues. However, it also seems to have introduced a new issue with another package that I use (project-viewer).

from atom-language-cfml.

Miguel-F avatar Miguel-F commented on August 15, 2024

Actually I don't think it is the project-viewer package, it is Atom's tree view itself. Normally when I select a file from the tree view it opens in the editor window (tab) to the right. With your change I am seeing two tabs open up, one on the right side as usual but another within the tree view panel as well. Here is a screenshot example.

sample

Are you seeing this too?

I did not include the changes to the other file from your pull-request (html-cfml-spec.js). Could that be the issue?

from atom-language-cfml.

sean-codes avatar sean-codes commented on August 15, 2024

@am2605 @Miguel-F I made the changes #113 to languageCFML.js. That fixed me being able to syntax .cfc's but also caused that weird open situation. I commented out atom.workspace.getActivePane().activateItem(editor) in each of those three blocks and then it seems to fix!

from atom-language-cfml.

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.