Hi. There is an application based on a table, data is filled into the table. By clicking on the hot key on a line, a textView opens in which the source data is displayed, there can be a lot of data (several thousand lines), if do it like this
txt: = fmt.Sprintf (`[" all "]% v [" "]`, strings.Join (v.sourceLines, "\ n"))
textView.SetText (txt)
there is a freezed when opening, if you display line by line in a separate goroutine then the textView opens immediately, but until all the lines are loaded the textView does not respond to key presses (up, down, other hot keys). In general, working with a textView with large volumes is very slow, can you tell me it is worth using something else instead of a textView, or is there some option that will help me?
Hi. There is an application based on a table, data is filled into the table. By clicking on the hot key on a line, a textView opens in which the source data is displayed, there can be a lot of data (several thousand lines), if do it like this
there is a freezed when opening, if you display line by line in a separate goroutine then the textView opens immediately, but until all the lines are loaded the textView does not respond to key presses (up, down, other hot keys). In general, working with a textView with large volumes is very slow, can you tell me it is worth using something else instead of a textView, or is there some option that will help me?