mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
searching for strings in a given note, then highlighting and looping through the string occurrences with some arrows.
This commit is contained in:
@ -45,6 +45,8 @@ class NotesPagerAdapter(fm: FragmentManager, val notes: List<Note>, val activity
|
||||
}
|
||||
}
|
||||
|
||||
fun textFragment(position: Int): TextFragment? = (fragments[position] as? TextFragment)
|
||||
|
||||
fun getCurrentNotesView(position: Int) = (fragments[position] as? TextFragment)?.getNotesView()
|
||||
|
||||
fun getCurrentNoteViewText(position: Int) = (fragments[position] as? TextFragment)?.getCurrentNoteViewText()
|
||||
|
Reference in New Issue
Block a user