Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Exception on InsertLink When current line is empty #6

Closed
gonbad opened this issue Feb 28, 2017 · 1 comment
Closed

Exception on InsertLink When current line is empty #6

gonbad opened this issue Feb 28, 2017 · 1 comment

Comments

@gonbad
Copy link

gonbad commented Feb 28, 2017

java.lang.StringIndexOutOfBoundsException: length=0; index=-1 at java.lang.String.indexAndLength(String.java:500) at java.lang.String.charAt(String.java:494) at com.github.irshulx.Components.InputExtensions.trimLineEnding(InputExtensions.java:428) at com.github.irshulx.Components.InputExtensions.InsertLink(InputExtensions.java:401) at com.github.irshulx.Components.InputExtensions.access$000(InputExtensions.java:50) at com.github.irshulx.Components.InputExtensions$5.onClick(InputExtensions.java:383)

@gonbad
Copy link
Author

gonbad commented Mar 5, 2017

thanks

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

No branches or pull requests

2 participants