Skip to content

Commit 82e9919

Browse files
committed
#3 issue fixed line counter
1 parent 7717b6e commit 82e9919

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

syntax-view/src/main/java/net/cryptobrewery/syntaxview/SyntaxView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ private void initialize(Context context, String BackgroundColor, final String ke
8787
code.setSingleLine(false);
8888
code.setImeOptions(EditorInfo.IME_FLAG_NO_ENTER_ACTION);
8989
code.setBackgroundColor(Color.parseColor(BackgroundColor));
90+
rows.setTypeface(tf);
9091
code.addTextChangedListener(new TextWatcher() {
9192

9293

syntax-view/src/main/res/layout/syntaxview.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
android:paddingTop="15dp"
3030
android:text="1"
3131
android:textColor="#f5b800"
32-
android:textSize="18sp" />
32+
android:textSize="20sp" />
3333

3434
<com.rengwuxian.materialedittext.MaterialEditText
3535
android:id="@+id/code"

0 commit comments

Comments
 (0)