markusressel / markusressel/KodeEditor

Color is not resolved correctly

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
92
Forks
11
Avg merge
4h 10m
Merged PRs (30d)
1

Description

I though this would work, but it seems that color is not resolved correctly here: (and same thing a few lines later because it is used twice)
https://github.com/markusressel/KodeEditor/blob/6e5e2f6840c261551a15b9c2ca1a343c8fe608e4/library/src/main/java/de/markusressel/kodeeditor/library/view/CodeEditorLayout.kt#L264

Seems to be linked to this, but don't know how to fix it without breaking everything: https://stackoverflow.com/a/46477727/8261566

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at library/src/main/java/de/markusressel/kodeeditor/library/view/CodeEditorLayout.kt around line 264 and inspect the repeated color usage. Read the linked Stack Overflow explanation for context, then verify the color is resolved correctly in both occurrences without breaking the editor. No test file or reproduction steps are provided, so add or run the project's relevant checks if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.