Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with XVim #1

Open
GalCohen opened this issue Apr 16, 2014 · 6 comments
Open

Compatible with XVim #1

GalCohen opened this issue Apr 16, 2014 · 6 comments

Comments

@GalCohen
Copy link

Great plugin!

Any chance you could make this work with the xvim plugin? https://github.com/JugglerShu/XVim

Thanks!

@alonecuzzo
Copy link

👍 please do!

@codeluggage
Copy link

I'm a huge Xvim fan and user, so I took a quick look at the source to see where the problem might be. By commenting out line 89 (the "else" part of the if-check) the backlight was not removed when returning to normal mode in Xvim.

To do this yourself, simply:

  1. Open Backlight.xcodeproj
  2. Navigate to AAABacklight.m
  3. Go to line 89 and comment it out
  4. Build the project
  5. Quit and open Xcode again

Not sure if this has any side effects or not, but I'm happily using it this way in Xcode 5.1.1 now.

@alonecuzzo
Copy link

@codeluggage cool ill try it out thx

@GalCohen
Copy link
Author

Thanks, fixed the problem for me, but now in xcode 6 it doesnt work again... any ideas?

@mayqiyue
Copy link

  1. Open Backlight.xcodeproj
  2. Navigate to AAABacklight.m
    3)Find the function: - (void)textViewDidChanged:(NSNotification *)notification;
    3)Comment the else case
    PS:It works for me (Xcode 6GM ,OS X 10.10 Beta 4)

@zenangst
Copy link
Contributor

How does textViewDidChange break Xvim compatibility ?
I'm just wondering so that I can apply a fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants