Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
HanzoDev1375 committed Jun 25, 2024
1 parent 9f3a586 commit ea7bb24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
import java.util.regex.Matcher;
import org.antlr.v4.runtime.Token;


public class ListCss3Color {



public static void getColor(
Token token, int line, int column, TextAnalyzeResult result, int color) {

try {
result.addIfNeeded(line, column, EditorColorScheme.ATTRIBUTE_VALUE);
result.addIfNeeded(line, column, TextStyle.makeStyle(EditorColorScheme.ATTRIBUTE_NAME,0,false,false,false,false,true));
int wordLength = token.getText().length(); // طول کلمه‌ی به رنگ قرمز
int endOfRed = column + wordLength;
// test
Expand Down
3 changes: 2 additions & 1 deletion jgit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ dependencies {

implementation ("androidx.appcompat:appcompat:1.7.0")
implementation ("androidx.constraintlayout:constraintlayout:2.1.4")
implementation ("com.google.android.material:material:1.12.0-alpha03")
implementation ("com.google.android.material:material:1.12.0")
implementation("org.eclipse.jgit:org.eclipse.jgit:6.8.0.202311291450-r")
}

0 comments on commit ea7bb24

Please sign in to comment.