Comments (9)
@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.
@sean-codes thank you! The activateItem() lines were not necessary. I have amended the pull request.
from atom-language-cfml.
Sorry my pull requests have not fixed this.
Any help appreciated
from atom-language-cfml.
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.
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.
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.
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.
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.
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.
@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)
- Adding addition file extention HOT 6
- Quotes breaks highlighting HOT 2
- Nested Comments breaks highlighting HOT 1
- Error after update to Atom 1.19 HOT 3
- CFC Method Outline/Structure View? HOT 5
- Changes to TextEditor.onDidChange and TextBuffer.onDidChange coming in Atom 1.23 HOT 1
- Syntax Highlighting not working in CFCs HOT 21
- Not recognizing CFCs HOT 7
- Unable to install language-cfml HOT 1
- Multi-line Comments Broken HOT 4
- Syntax coloring fails HOT 14
- tag-generic-attribute-script doesn't allow underscores HOT 1
- Commenting uses wrong comment tag
- Syntax Highlighting Issue
- Any CF tag inside comments breaks comment highlighting HOT 1
- Using CTRL+CMD+Down Arrow to move code down results in an error sound HOT 2
- Different code coloring for CFML tags vs. HTML HOT 2
- wrong parsing HOT 5
- Jump to symbol? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-language-cfml.