mirror of
https://github.com/antonmedv/fx
synced 2024-11-03 15:40:12 +00:00
Add TODO
This commit is contained in:
parent
3b9ac1d023
commit
2e30f1ec9a
@ -2,9 +2,10 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
. "github.com/antonmedv/fx/pkg/dict"
|
||||
. "github.com/antonmedv/fx/pkg/json"
|
||||
"regexp"
|
||||
)
|
||||
|
||||
type searchResult struct {
|
||||
@ -87,6 +88,7 @@ func (m *model) remapSearchResult(object interface{}, path string, pos int, inde
|
||||
return pos + len(s), id, current
|
||||
|
||||
case string:
|
||||
// TODO: Wrap the string, save a line number according to current wrap or no wrap mode.
|
||||
s := fmt.Sprintf("%q", object)
|
||||
id, current = m.findRanges(valueRange, s, path, pos, indexes, id, current)
|
||||
return pos + len(s), id, current
|
||||
|
Loading…
Reference in New Issue
Block a user