Skip to content

Commit

Permalink
minor formatting etc
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Feb 18, 2024
1 parent 6ae6802 commit b2cc488
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions code/cdebug/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Thread struct {
FPath string `tableview:"-"`

// the name of the function
Func string
Func string `width:"80"`

// id of the current Task within this system thread (if relevant)
Task int
Expand Down Expand Up @@ -81,7 +81,7 @@ type Task struct {
FPath string `tableview:"-" tableview:"-"`

// the name of the function
Func string
Func string `width:"80"`

// id of the current Thread this task is running on
Thread int `format:"%#X"`
Expand Down Expand Up @@ -124,7 +124,7 @@ type Location struct {
FPath string `view:"-" tableview:"-"`

// the name of the function
Func string
Func string `width:"80"`
}

// Frame describes one frame in a stack trace.
Expand All @@ -149,7 +149,7 @@ type Frame struct {
FPath string `tableview:"-" tableview:"-"`

// the name of the function
Func string
Func string `width:"80"`

// values of the local variables at this frame
Vars []*Variable `tableview:"-"`
Expand Down Expand Up @@ -180,7 +180,7 @@ type Break struct {
FPath string `edit:"-" view:"-" tableview:"-"`

// the name of the function
Func string `edit:"-"`
Func string `edit:"-" width:"80"`

// condition for conditional breakbpoint
Cond string
Expand Down
5 changes: 3 additions & 2 deletions code/code/findview.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,10 @@ func (fv *FindView) ReplaceAll() {
}
go func() {
for {
updt := fv.Code.AsWidget().Scene.UpdateStartAsync()
sc := fv.Code.AsWidget().Scene
updt := sc.UpdateStartAsync()
ok := fv.ReplaceAction()
fv.Code.AsWidget().Scene.UpdateEndAsyncLayout(updt)
sc.UpdateEndAsyncLayout(updt)
if !ok {
break
}
Expand Down

0 comments on commit b2cc488

Please sign in to comment.