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

Can't edit lines with -A -B -C #213

Closed
arturasz opened this issue Jan 26, 2016 · 6 comments
Closed

Can't edit lines with -A -B -C #213

arturasz opened this issue Jan 26, 2016 · 6 comments

Comments

@arturasz
Copy link

If I use -C3 param I can only edit the line that had the search term in, but the lines before and after are read-only.

@syohex
Copy link
Contributor

syohex commented Jan 26, 2016

Sorry, helm-ag does not support -A, -B, -C options yet.

@syohex
Copy link
Contributor

syohex commented Jan 27, 2016

I have fixed this issue at #214. Please check latest version. Gif animation is here.

edit-context

@arturasz
Copy link
Author

Hi, that was very fast, thank you.
It might be something with my emacs, but If i have a file a.js

b
b
aaa
b
b

and search for aaa -C3, I can only edit lines 2,3,5,6 while 1 and 4-th are not editable. Can you check if it works for you?

@syohex
Copy link
Contributor

syohex commented Jan 27, 2016

There is no not editable line on my environment.

edit-test

There is no line 6 output. ag does not generate when it invokes within Emacs.

@syohex
Copy link
Contributor

syohex commented Feb 15, 2016

Please reopen if you still have problems.

@syohex syohex closed this as completed Feb 15, 2016
@arturasz
Copy link
Author

Works like a charm, thanks!

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

No branches or pull requests

2 participants