3YZEZM2HL4TMITYHOA46J7SJNCX7NRHFMREMFM23TP5QK5CDPZEQC LGEY6A426OSCYPR5Y656VSVESXDTY73BBGHFPGLGOSTCUXKOIQIQC NN4OMV27GQ6ZUV7WHR4ZKVT2HHPQVDVSHLC4CVY4ZYCX3F6SHTOAC HALQLPZNGJTWL3XZVV2YLCUHMK33PNMWXMADBHIKEOSLI3PQMULQC BULPIBEGL7TMK6CVIE7IS7WGAHGOSUJBGJSFQK542MOWGHP2ADQQC ZPQI5UL3V6QIZXWGXO2DZOCCTLIUOQSRP3LIQKEARIQQSNA6RO6AC HALS7E5UGKCP3DFY456F7Z3Y6WNGIABOCV2SHT34D5ZAGNCPV5PQC H2POXHTM4NCDXTEWTQPXGT3WJPSLCTQ4UFYU63BGLQ6HDCJXGEUAC I64IPGJXWRTGHHVAYJUBUIWFR4BY6NM5P7TLTV4JOD7K4BVYDECQC KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC GZ5WULJVEZJJQPQPSQZE7CEPIYPJ2BJDYUJBMZRA5HLOO7TE3DOQC if pos <= State.cursor1.pos and pos + frag_len > State.cursor1.pos thenlocal data = State.lines[State.cursor1.line].datalocal cursor_offset = Text.offset(data, State.cursor1.pos)if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term thenlocal hi = State.cursor1.pos+utf8.len(State.search_term)Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, hi)end
local data = State.lines[State.cursor1.line].datalocal cursor_offset = Text.offset(data, State.cursor1.pos)if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term thenlocal save_selection = State.selection1State.selection1 = {line=line_index, pos=State.cursor1.pos+utf8.len(State.search_term)}local lo, hi = Text.clip_selection(State, line_index, pos, pos+frag_len)Text.draw_highlight(State, line, State.left,y, pos, lo,hi)State.selection1 = save_selection
if pos <= State.cursor1.pos and pos + frag_len > State.cursor1.pos thenlocal data = State.lines[State.cursor1.line].datalocal cursor_offset = Text.offset(data, State.cursor1.pos)if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term thenlocal hi = State.cursor1.pos+utf8.len(State.search_term)Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, hi)end
local data = State.lines[State.cursor1.line].datalocal cursor_offset = Text.offset(data, State.cursor1.pos)if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term thenlocal save_selection = State.selection1State.selection1 = {line=line_index, pos=State.cursor1.pos+utf8.len(State.search_term)}local lo, hi = Text.clip_selection(State, line_index, pos, pos+frag_len)Text.draw_highlight(State, line, State.left,y, pos, lo,hi)State.selection1 = save_selection