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

Some issues related to Surrounded with functionality #45

Open
gopikrish2000 opened this issue Dec 14, 2013 · 0 comments
Open

Some issues related to Surrounded with functionality #45

gopikrish2000 opened this issue Dec 14, 2013 · 0 comments

Comments

@gopikrish2000
Copy link

Firstly thanks for providing such a good plugin . I'm using NP++ from so long but just recently only i saw your plugin which is excellent . I'm facing some issues related to Surround functionality. [ Windows 7 32 bit , NP 6.5.1 unicode , FT 0.5.60 ]

Issue 1 :
Unable to wrap selected content with () or {} in the same line .
selected some text -> Alt + / -> script
partially working one ( only to right of Selection ) :: $[![(key)SELECTION]!] $[![(lis))|}]!] $[0[]0]
partially working one result :: SELECTION ) or } [ ie selectedText ) or selectedText} ]
not at all working :: $[![(lis)(|{]!] $[![(key)SELECTION]!] $[![(lis))|}]!]$[0[]0]
not at all working result :: ( or { [ even selectedText is also gone ]

Issue 2 ::
If in same NP document there is an expression but cursor is not in that position , still it is getting replaced upon clicking tab .
ex: $[![(eva)2+2]!]$[0[]0]
abc text [press Tab here]
Result : 4
abc text
Expected Result : $[![(eva)2+2]!]$[0[]0]
abc text [tab space ]

Issue 3/ Feature Request ::
When text is selected and upon pressing Alt + / , its good only to show the scripts which are having $[![(key)SELECTION]!] only (other than same scope ) , otherwise the selected text will be replaced by the selected expression

This plugin is giving lot of features which probably are not even present in IDE's like chaining , eval's . Excellent work

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

1 participant