AmrDeveloper / CodeView

Android Library to make it easy to create an Code editor or IDE that support any languages and themes, with auto complete, auto indenting, snippets and more features
https://amrdeveloper.github.io/CodeView/
MIT License
378 stars 48 forks source link

CodeViewAdapter.updateCodes() is not available #43

Open rundone opened 8 months ago

rundone commented 8 months ago

If CodeViewAdapter.updateCodes() is called, auto complete cannot be used and the drop-down box will not be displayed

AmrDeveloper commented 8 months ago

Hello @rundone,

Thank you for reporting, i will check it

Thank you, Amr Hesham

rundone commented 8 months ago

I don't know if it's because I'm using it in a fragment, plus I've found that LineNumber doesn't work either

AmrDeveloper commented 8 months ago

I don't know if it's because I'm using it in a fragment, plus I've found that LineNumber doesn't work either

Can you share more info about LineNumber problem so we can solve them

rundone commented 8 months ago

https://github.com/AmrDeveloper/CodeView/assets/155033180/04a515d7-d558-47f4-a16f-8a7ecb253702

In the video, you can see that the line number is not displayed

AmrDeveloper commented 8 months ago

@rundone Thank you for sharing video, i tested line number with fragment it's work but default text size is small can you please try

codeView.setLineNumberTextSize(25f);
AmrDeveloper commented 8 months ago

@rundone Auto Complete issue is fixed at this commit https://github.com/AmrDeveloper/CodeView/commit/2a04be57bd9f0006c23a7cfbd66d9f869825bd57, once you confirm LineNumber i can release new version to use

AmrDeveloper commented 8 months ago

I released '1.3.9' for updateCodes fix