Git Product home page Git Product logo

cogent's People

Contributors

ddkwork avatar kkoreilly avatar rcoreilly avatar rohrlich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cogent's Issues

Spell not saving dictionary properly

If I throw away the spell_en_us_plain.json a new dictionary is built in memory and spelling works but after quitting and restarting the dictionary is 4 bytes!

Saving Split window setting - not able to save current view

If you adjust the "splits" and select Save... a new split entry is created, even if you enter the name of current split (you now have 2 with same name)

Suggest

  • Splits-->Set menu indicates current split
  • Rename "Save..." as "Save as..."
  • Add menu item "Save" for saving current proportions to current split (does not open a dialog)

which edit view does a file get opened into? commands should use one closest to main tabs..

Current behavior is to rotate, i.e. first file in left panel, second in right, third in left and so on IF you use the "view" context menu item (note that the file is editable as well as viewable).

But if you use the "Edit" menubar item the file is always opened in left panel.

Suggest we use "edit" for writable files and "view" for read-only and have edit-left and edit-right or something like that in context menu and double-click for left and alt/option double-click for right or something like that from context menu. For edit menubar item option when selecting would also open file into right window.

Closing project closes gide

I'd like to be able to close a project and open another one without gide quitting. As I right this I realize that I can open the second and then close the first.

Find/Replace for specific file

I wanted to do a Replace All in a particular file (with the Find UI). How about adding Find to file context menu and that would imply the particular file. (Did I miss this capability?)

I think this is an example of a wider problem of having 2 editors but no way to specify which to act on or in which to open a file. I've filed a couple of other issues that raise a similar concern.

in both Golang and Xcode cmd-f brings up a find/replace bar at the top of the active editor and you can have one in each editor. There is a separate find bar for project level find.

p.s. Overall the dog food experience is going well.

Save Project: Does it save files?

If Save Project calls save on each of the unsaved files then the bug is that after Save Project closing the window still displays the message that N files are open.

I expect most users would assume that Save Project also saves the files in the project.

Crash opening GoGi prefs

Johns-Mac-Pro:~/go/src/github.com/goki/gide/cmd/gide $ ./gide
Effective LogicalDPI now: 78 PhysicalDPI: 109 Eff LogicalDPIScale: 0.7155963 ZoomFactor: 1.0833334
Effective LogicalDPI now: 84 PhysicalDPI: 109 Eff LogicalDPIScale: 0.7706422 ZoomFactor: 1.1666666
Preferences Saved to prefs.json
2018-10-11 07:59:10.701 gide[67992:4991792] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '_installCarbonMenuEventHandlers called with existing _menuEventHandler already associated with menu for menu <NSMenu: 0xb43b4d0>
Title: gide
Open bounds: [t=-6.86734e+218, l=7.85138e-313, b=-6.86734e+218, r=6.96414e+252]
Supermenu: 0xb41c1d0 (), autoenable: NO
Items: (
"<NSMenuItem: 0xb420ee0 About gide>",
"<NSMenuItem: 0xb44e160 GoGi Preferences...>",
"<NSMenuItem: 0xb44d790 Gide Preferences...>",
"<NSMenuItem: 0xb43a950 >",
"<NSMenuItem: 0xb41f290 Quit>"
)'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff56d3f66b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff7df81942 objc_exception_throw + 48
2 CoreFoundation 0x00007fff56dcf955 +[NSException raise:format:] + 197
3 AppKit 0x00007fff54243e39 -[NSCarbonMenuImpl _installCarbonMenuEventHandlers] + 99
4 AppKit 0x00007fff54243367 -[NSCarbonMenuImpl _instantiateCarbonMenu] + 1240
5 AppKit 0x00007fff5424546f -[NSCarbonMenuImpl _principalMenuRefCreateIfNecessary] + 42
6 AppKit 0x00007fff545ba804 -[NSCarbonMenuImpl _itemLostMagicAppleMenuStatus:] + 87
7 AppKit 0x00007fff546dadc4 -[NSCarbonMenuImpl _menuLostMainMenuStatus] + 137
8 AppKit 0x00007fff5421812f -[NSMenu _setMenuName:] + 384
9 AppKit 0x00007fff54220f02 -[NSApplication setMainMenu:] + 360
10 AppKit 0x00007fff5421838a -[NSMenu _setMenuName:] + 987
11 gide 0x0000000004760415 -[ScreenGLView windowDidBecomeKey:] + 53
12 CoreFoundation 0x00007fff56cd05cc CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
13 CoreFoundation 0x00007fff56cd049a _CFXRegistrationPost + 458
14 CoreFoundation 0x00007fff56cd01d1 ___CFXNotificationPost_block_invoke + 225
15 CoreFoundation 0x00007fff56c8ed22 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826
16 CoreFoundation 0x00007fff56c8ddb3 _CFXNotificationPost + 659
17 Foundation 0x00007fff58db78c7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
18 AppKit 0x00007fff5436e973 -[NSWindow becomeKeyWindow] + 1488
19 AppKit 0x00007fff5436dbcd -[NSWindow _changeKeyAndMainLimitedOK:] + 878
20 AppKit 0x00007fff5441b27e -[NSWindow _makeKeyRegardlessOfVisibility] + 108
21 AppKit 0x00007fff54370c0c NSPerformVisuallyAtomicChange + 146
22 AppKit 0x00007fff5441b1b5 -[NSWindow makeKeyAndOrderFront:] + 90
23 libdispatch.dylib 0x00007fff7eb665fa _dispatch_call_block_and_release + 12
24 libdispatch.dylib 0x00007fff7eb5edb8 _dispatch_client_callout + 8
25 libdispatch.dylib 0x00007fff7eb6a395 _dispatch_main_queue_callback_4CF + 1148
26 CoreFoundation 0x00007fff56cf8e59 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
27 CoreFoundation 0x00007fff56cbb66a __CFRunLoopRun + 2586
28 CoreFoundation 0x00007fff56cba9b7 CFRunLoopRunSpecific + 487
29 HIToolbox 0x00007fff55f9ad96 RunCurrentEventLoopInMode + 286
30 HIToolbox 0x00007fff55f9ab06 ReceiveNextEventCommon + 613
31 HIToolbox 0x00007fff55f9a884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
32 AppKit 0x00007fff5424ba73 _DPSNextEvent + 2085
33 AppKit 0x00007fff549e1e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
34 AppKit 0x00007fff54240885 -[NSApplication run] + 764
35 gide 0x000000000405a620 runtime.asmcgocall + 112
)
libc++abi.dylib: terminating with uncaught exception of type NSException
SIGABRT: abort
PC=0x7fff7ece8b66 m=0 sigcode=0
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x475f930, 0xc000061ec8, 0x0)
/usr/local/go/src/runtime/cgocall.go:128 +0x5e fp=0xc000061e98 sp=0xc000061e60 pc=0x400513e
github.com/goki/gi/oswin/driver/macdriver._Cfunc_startDriver()
_cgo_gotypes.go:688 +0x41 fp=0xc000061ec8 sp=0xc000061e98 pc=0x468a121
github.com/goki/gi/oswin/driver/macdriver.startDriver()
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:102 +0x3b fp=0xc000061f20 sp=0xc000061ec8 pc=0x468b05b
github.com/goki/gi/oswin/driver/macdriver.Main(0xc00036ddb0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/macdriver.go:27 +0x35 fp=0xc000061f30 sp=0xc000061f20 pc=0x4685755
github.com/goki/gi/oswin/driver.main(0xc00036ddb0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/driver_darwin.go:20 +0x2b fp=0xc000061f48 sp=0xc000061f30 pc=0x46906eb
github.com/goki/gi/oswin/driver.Main(0xc00036ddb0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/driver.go:27 +0x2b fp=0xc000061f60 sp=0xc000061f48 pc=0x46906ab
github.com/goki/gi/gimain.Main(0x4980ee8)
/Users/rohrlich/go/src/github.com/goki/gi/gimain/gimain.go:24 +0x57 fp=0xc000061f80 sp=0xc000061f60 pc=0x4707b27
main.main()
/Users/rohrlich/go/src/github.com/goki/gide/cmd/gide/gide.go:20 +0x2d fp=0xc000061f98 sp=0xc000061f80 pc=0x475e03d
runtime.main()
/usr/local/go/src/runtime/proc.go:201 +0x207 fp=0xc000061fe0 sp=0xc000061f98 pc=0x402f057
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x405ae81

goroutine 10 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x5605d80)
/usr/local/go/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0x5605d78)
/usr/local/go/src/sync/waitgroup.go:130 +0x64
main.mainrun()
/Users/rohrlich/go/src/github.com/goki/gide/cmd/gide/gide.go:81 +0x1c2
main.main.func1()
/Users/rohrlich/go/src/github.com/goki/gide/cmd/gide/gide.go:21 +0x20
github.com/goki/gi/gimain.Main.func1(0x4ae5860, 0x55bfa20)
/Users/rohrlich/go/src/github.com/goki/gi/gimain/gimain.go:25 +0x24
github.com/goki/gi/oswin/driver/macdriver.driverStarted.func1()
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:185 +0x40
created by github.com/goki/gi/oswin/driver/macdriver.driverStarted
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:184 +0x5f

goroutine 22 [select, locked to thread]:
github.com/goki/gi/oswin/driver/macdriver.drawLoop(0xc000001980, 0x1)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:233 +0x220
created by github.com/goki/gi/oswin/driver/macdriver.preparedOpenGL
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:175 +0xe8

goroutine 23 [runnable]:
golang.org/x/mobile/gl.(*context).enqueue(0xc0002ed8c0, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/rohrlich/go/src/golang.org/x/mobile/gl/work.go:110 +0xd9
golang.org/x/mobile/gl.(*context).Flush(0xc0002ed8c0)
/Users/rohrlich/go/src/golang.org/x/mobile/gl/gl.go:580 +0x5c
github.com/goki/gi/oswin/driver/macdriver.(*windowImpl).Publish(0xc000001980, 0x13)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/window.go:367 +0x5d
github.com/goki/gi.(*Window).Publish(0xc000150f00)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:754 +0x225
github.com/goki/gi.SignalWindowPublish(0x4b16c20, 0xc000150f00, 0x4b16c20, 0xc000150f00, 0x1, 0x47bf220, 0xc00d1de408)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:767 +0x93
github.com/goki/ki.(*Signal).Emit(0xc000150f58, 0x4b16c20, 0xc000150f00, 0x1, 0x47bf220, 0xc00d1de408)
/Users/rohrlich/go/src/github.com/goki/ki/signal.go:157 +0x1b9
github.com/goki/ki.(*Node).UpdateEnd(0xc000150f00, 0x4b16c01)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1118 +0x147
github.com/goki/gi.(*Window).GenMouseFocusEvents(0xc000150f00, 0xc0094506c0, 0xc009450601, 0x296b3d01)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:1616 +0x251
github.com/goki/gi.(*Window).EventLoop(0xc000150f00)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:1299 +0xeaf
created by github.com/goki/gi.(*Window).GoStartEventLoop
/Users/rohrlich/go/src/github.com/goki/gi/window.go:542 +0x66

goroutine 55 [chan receive]:
github.com/goki/gi/giv.TextViewBlink()
/Users/rohrlich/go/src/github.com/goki/gi/giv/textview.go:2060 +0x46
created by github.com/goki/gi/giv.(*TextView).StartCursor
/Users/rohrlich/go/src/github.com/goki/gi/giv/textview.go:2094 +0xf3

goroutine 101 [select, locked to thread]:
github.com/goki/gi/oswin/driver/macdriver.drawLoop(0xc000000f00, 0x1)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:233 +0x220
created by github.com/goki/gi/oswin/driver/macdriver.preparedOpenGL
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:175 +0xe8

goroutine 102 [runnable]:
image/color.(*NRGBA).RGBA(0xc00d21fe1c, 0xe, 0x4abac40)
:1 +0x82
github.com/srwiley/scanFT.(*RGBAColFuncPainter).Paint(0xc00c9aac90, 0xc00c89d298, 0x3e, 0x40, 0x1, 0x0, 0x0, 0x53b, 0x1f)
/Users/rohrlich/go/src/github.com/srwiley/scanFT/scan.go:529 +0x228
github.com/srwiley/scanFT.(*ScannerFT).Draw(0xc00c89b000)
/Users/rohrlich/go/src/github.com/srwiley/scanFT/scan.go:428 +0x3de
github.com/goki/gi.(*Paint).fill(0xc00c624eb0, 0xc00c624eb0)
/Users/rohrlich/go/src/github.com/goki/gi/paint.go:567 +0x24a
github.com/goki/gi.(*Paint).FillPreserve(0xc00c624eb0, 0xc00c624eb0)
/Users/rohrlich/go/src/github.com/goki/gi/paint.go:591 +0x35
github.com/goki/gi.(*Paint).Fill(0xc00c624eb0, 0xc00c624eb0)
/Users/rohrlich/go/src/github.com/goki/gi/paint.go:597 +0x35
github.com/goki/gi.(*Paint).FillBox(0xc00c624eb0, 0xc00c624eb0, 0x0, 0x41f8000044a76000, 0xc000669660)
/Users/rohrlich/go/src/github.com/goki/gi/paint.go:610 +0x115
github.com/goki/gi.(*MenuBar).MenuBarStdRender(0xc000669400)
/Users/rohrlich/go/src/github.com/goki/gi/bars.go:48 +0x99
github.com/goki/gi.(*MenuBar).Render2D(0xc000669400)
/Users/rohrlich/go/src/github.com/goki/gi/bars.go:82 +0x69
github.com/goki/gi.(*Layout).Render2DChildren(0xc000668000)
/Users/rohrlich/go/src/github.com/goki/gi/layout.go:1277 +0x111
github.com/goki/gi.(*Layout).Render2D(0xc000668000)
/Users/rohrlich/go/src/github.com/goki/gi/layout.go:1837 +0xc1
github.com/goki/gi.(*Node2DBase).Render2DChildren(0xc00c624a80)
/Users/rohrlich/go/src/github.com/goki/gi/node2d.go:630 +0xa2
github.com/goki/gi.(*Viewport2D).Render2D(0xc00c624a80)
/Users/rohrlich/go/src/github.com/goki/gi/viewport2d.go:437 +0x6d
github.com/goki/gi.(*Node2DBase).Render2DTree(0xc00c624a80)
/Users/rohrlich/go/src/github.com/goki/gi/node2d.go:591 +0x8e
github.com/goki/gi.(*Node2DBase).FullRender2DTree(0xc00c624a80)
/Users/rohrlich/go/src/github.com/goki/gi/node2d.go:483 +0x89
github.com/goki/gi.(*Viewport2D).FullRender2DTree(0xc00c624a80)
/Users/rohrlich/go/src/github.com/goki/gi/viewport2d.go:374 +0x91
github.com/goki/gi.(*Window).FullReRender(0xc00069b900)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:603 +0x4f
github.com/goki/gi.(*Window).EventLoop(0xc00069b900)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:1244 +0x77d
created by github.com/goki/gi.(*Window).GoStartEventLoop
/Users/rohrlich/go/src/github.com/goki/gi/window.go:542 +0x66

dictionary empty

I suspect the problem you experienced is founded in not finding the big.txt file from which the starting dictionary is built. There should have been a println to that effect. I have now added a prompt dialog to make it obvious.

I suspect the problem leading to the file not being found is a difference in our file structures. Here is how I am locating the file:
gopath := os.Getenv("GOPATH")
bigdatapath := gopath + "/src/github.com/goki/gi/spell/big.txt"

add spell checking with completion

"hunspell" seems like main opensource spell checking framework - original is in C / C++, but there is a golang port of unknown quality: https://github.com/client9/gospell

this is a dictionary for hunspell that we could try:

https://github.com/marcoagpinto/aoo-mozilla-en-dict/blob/master/en_US%20(Kevin%20Atkinson)/README_en_US.txt

hunspell site: https://github.com/hunspell/hunspell

this is an interesting, very fast alternative but not clear how it would work with hunspell dictionary? needs training? https://github.com/sajari/fuzzy

need both online completion-based spellcheck and a separate overall spell-check doc.

can add spell checking as an option in the Langs config -- appropriate for some langs (.tex, .md) but not others (program code, although it could be selectively turned on for comments I guess)

Crash opening file - reproducible

This has happened maybe 3 times but I didn't report earlier as I don't know how to reproduce yet.

runtime.fatalpanic at panic.go:681
runtime.gopanic at panic.go:556
runtime.panicindex at panic.go:44
github.com/goki/gide.(*Gide).ViewFileNode at gide.go:562
github.com/goki/gide.(*Gide).NextViewFileNode at gide.go:583
github.com/goki/gide.(*Gide).FileNodeOpened at gide.go:1872
github.com/goki/gide.(*Gide).ConfigSplitView.func1 at gide.go:1788
github.com/goki/ki.(*Signal).Emit at signal.go:157
github.com/goki/gi/giv.(*TreeView).Open at treeview.go:677
github.com/goki/gi/giv.(*TreeView).ToggleClose at treeview.go:685
github.com/goki/gi/giv.(*TreeView).TreeViewEvents.func5 at treeview.go:1340
github.com/goki/gi.(*WinEventRecv).Call at window.go:1423
github.com/goki/gi.(*Window).SendEventSignal at window.go:1544
github.com/goki/gi.(*Window).EventLoop at window.go:1297
runtime.goexit at asm_amd64.s:1333

Clicking link in findview always opens text in right view if 2 views are open

Suggest for "Find" (which by the way works wonderfully!) that displaying of found items (by clicking on link) always open the file in the right side textview if two are open. The use case that comes to mind is having code I'm editing in the left view and using the right view to find something relevant that I need for the code I'm editing.

"Ignore and Overwrite" needs testing

I find that sometimes the auto-save file isn't going away on save and then I get asked about overwrite even thought the file was saved. Other times the file isn't saved and I don't get asked.

Needs testing

install fails

This project sounds amazing. I want to try out the 2D and 3D aspects for the IDE, like supporting 3D model types and other things.

I think the install might be failing because of the update that hit MacOS 2 days ago ?

env:

go version
go version go1.11 darwin/amd64

go env
GOARCH="amd64"GOBIN=""GOCACHE="/Users/apple/Library/Caches/go-build"
GOEXE=""GOFLAGS=""GOHOSTARCH="amd64"
GOHOSTOS="darwin"GOOS="darwin"GOPATH="/Users/apple/workspace/go"
GOPROXY=""GORACE=""GOROOT="/usr/local/opt/go/libexec"GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"GCCGO="gccgo"CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/go-build374497561=/tmp/go-build -gno-record-gcc-switches -fno-common"

error:

go get -u github.com/goki/gide/...
# golang.org/x/mobile/gl
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
# github.com/goki/gi/oswin/driver/macdriver
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tbd and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreData.framework/Versions/A/CoreData.tbd and library file /System/Library/Frameworks//CoreData.framework/Versions/A/CoreData are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd andlibrary file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync.tbd and library file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy are out of sync. Falling back to library file forlinking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file forlinking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back tolibrary file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
# github.com/goki/gide/cmd/gide
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tbd and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreData.framework/Versions/A/CoreData.tbd and library file /System/Library/Frameworks//CoreData.framework/Versions/A/CoreData are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd andlibrary file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync.tbd and library file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy are out of sync. Falling back to library file forlinking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to libraryfile for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file forlinking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back tolibrary file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.

Recents menu empty

I walked the code and the paths are read correctly from the saved json so perhaps the problem is with the menu. I assumed at first it was a stale prefs file but no that isn't it.

Unable to locate icons when using multiple GOPATHs

Hi,

I felt really quite happy to discover GoKi and GoGI and GIde today! Wow, what a treasure. I'll dive deeper into the code base in the time to come.

For now, I wanted to report back on a few issues I noticed when trying to get Gide running. Note, I could go get and compile Gide just fine. However, when running Gide, the following errors are displayed:

$ gide
gi.IconSet: error accessing path "/home/u/goget:/home/u/Desktop/go/src/github.com/goki/gi/icons": lstat /home/u/goget:/home/u/Desktop/go/src/github.com/goki/gi/icons: no such file or directory
2018/10/06 18:56:10 gi.IconSet: error walking the path "/home/u/goget:/home/u/Desktop/go/src/github.com/goki/gi/icons": lstat /home/u/goget:/home/u/Desktop/go/src/github.com/goki/gi/icons: no such file or directory

This is since my GOPATH contains multiple paths using a : separated path list.

$ go env | grep GOPATH
GOPATH="/home/u/goget:/home/u/Desktop/go"

To solve this issue you can do something like goutil.SrcDir:

// SrcDir tries to locate dir in GOPATH/src/ or GOROOT/src/pkg/ and returns its
// full path. GOPATH may contain a list of paths.
func SrcDir(dir string) (absDir string, err error) {
	for _, srcDir := range build.Default.SrcDirs() {
		absDir = filepath.Join(srcDir, dir)
		finfo, err := os.Stat(absDir)
		if err == nil && finfo.IsDir() {
			return absDir, nil
		}
	}
	return "", errors.Errorf("unable to locate directory (%q) in GOPATH/src/ (%q) or GOROOT/src/pkg/ (%q)", dir, os.Getenv("GOPATH"), os.Getenv("GOROOT"))
}

Note: the SrcDir function is very simple so re-implement or copy it, rather than adding goutil as a dependency. The mewkiz/pkg repo of which the goutil package is part of, is released in the public domain, just so you know.

Cheerful regards,
Robin

Build issue

The "gocode" code doesn't get built when gide is built. To get completion working you need have the environment variable GOBIN set to your go/bin directory AND you need to go to go/src/github.com/mdempsky/gocode and build with the following command

go install

which will put the gocode binary into go/bin

do not use "go build gocode.go" or go install gocode.go" - neither will work

SegFault: Setting split I had just created

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff496b40e7]

runtime stack:
runtime.throw(0x494be15, 0x2a)
/usr/local/go/src/runtime/panic.go:608 +0x72
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:374 +0x2f2

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4764970, 0xc00005eec8, 0x0)
/usr/local/go/src/runtime/cgocall.go:128 +0x5e fp=0xc00005ee98 sp=0xc00005ee60 pc=0x400576e
github.com/goki/gi/oswin/driver/macdriver._Cfunc_startDriver()
_cgo_gotypes.go:727 +0x41 fp=0xc00005eec8 sp=0xc00005ee98 pc=0x46be5a1
github.com/goki/gi/oswin/driver/macdriver.startDriver()
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:105 +0x3b fp=0xc00005ef20 sp=0xc00005eec8 pc=0x46bf4db
github.com/goki/gi/oswin/driver/macdriver.Main(0xc00025a9c0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/macdriver.go:27 +0x35 fp=0xc00005ef30 sp=0xc00005ef20 pc=0x46b99e5
github.com/goki/gi/oswin/driver.main(0xc00025a9c0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/driver_darwin.go:20 +0x2b fp=0xc00005ef48 sp=0xc00005ef30 pc=0x46c4c1b
github.com/goki/gi/oswin/driver.Main(0xc00025a9c0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/driver.go:27 +0x2b fp=0xc00005ef60 sp=0xc00005ef48 pc=0x46c4bdb
github.com/goki/gi/gimain.Main(0x49864f0)
/Users/rohrlich/go/src/github.com/goki/gi/gimain/gimain.go:24 +0x57 fp=0xc00005ef80 sp=0xc00005ef60 pc=0x46fc607
main.main()
/Users/rohrlich/go/src/github.com/goki/gide/cmd/gide/gide.go:20 +0x2d fp=0xc00005ef98 sp=0xc00005ef80 pc=0x476301d
runtime.main()
/usr/local/go/src/runtime/proc.go:201 +0x207 fp=0xc00005efe0 sp=0xc00005ef98 pc=0x402f647
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc00005efe8 sp=0xc00005efe0 pc=0x405b471

goroutine 4 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x561d408)
/usr/local/go/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0x561d400)
/usr/local/go/src/sync/waitgroup.go:130 +0x64
main.mainrun()
/Users/rohrlich/go/src/github.com/goki/gide/cmd/gide/gide.go:84 +0x1c2
main.main.func1()
/Users/rohrlich/go/src/github.com/goki/gide/cmd/gide/gide.go:21 +0x20
github.com/goki/gi/gimain.Main.func1(0x4aed720, 0x55d7020)
/Users/rohrlich/go/src/github.com/goki/gi/gimain/gimain.go:25 +0x24
github.com/goki/gi/oswin/driver/macdriver.driverStarted.func1()
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:188 +0x40
created by github.com/goki/gi/oswin/driver/macdriver.driverStarted
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:187 +0x5f

goroutine 39 [select, locked to thread]:
github.com/goki/gi/oswin/driver/macdriver.drawLoop(0xc000094480, 0x1)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:236 +0x220
created by github.com/goki/gi/oswin/driver/macdriver.preparedOpenGL
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/cocoa.go:178 +0xe8

goroutine 5 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc000094520, 0xecb)
/usr/local/go/src/runtime/sema.go:510 +0xeb
sync.(*Cond).Wait(0xc000094510)
/usr/local/go/src/sync/cond.go:56 +0x92
github.com/goki/gi/oswin/driver/internal/event.(*Deque).NextEvent(0xc000094508, 0x0, 0x0)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/internal/event/event.go:55 +0x77
github.com/goki/gi/oswin/driver/macdriver.(*windowImpl).NextEvent(0xc000094480, 0x29f7eb1a47, 0x55fd520)
/Users/rohrlich/go/src/github.com/goki/gi/oswin/driver/macdriver/window.go:104 +0x33
github.com/goki/gi.(*Window).EventLoop(0xc0001e4000)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:1012 +0x1c3
created by github.com/goki/gi.(*Window).GoStartEventLoop
/Users/rohrlich/go/src/github.com/goki/gi/window.go:546 +0x66

goroutine 41 [chan receive]:
github.com/goki/gi/giv.TextViewBlink()
/Users/rohrlich/go/src/github.com/goki/gi/giv/textview.go:2509 +0x46
created by github.com/goki/gi/giv.(*TextView).StartCursor
/Users/rohrlich/go/src/github.com/goki/gi/giv/textview.go:2543 +0xf3

goroutine 8 [chan receive]:
github.com/goki/gi.TextFieldBlink()
/Users/rohrlich/go/src/github.com/goki/gi/textfield.go:676 +0x46
created by github.com/goki/gi.(*TextField).StartCursor
/Users/rohrlich/go/src/github.com/goki/gi/textfield.go:710 +0xf1

goroutine 99 [runnable]:
reflect.Value.Field(0x4851cc0, 0xc011bfc000, 0x199, 0x0, 0x0, 0x0, 0x4aee7c0)
/usr/local/go/src/reflect/value.go:810 +0x148
github.com/goki/ki.FlatFieldsValueFunc(0x48d81e0, 0xc011bfc000, 0x4986038, 0x0)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:935 +0x253
github.com/goki/ki.(*Node).Disconnect(0xc011bfc000)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1174 +0x70
github.com/goki/ki.(*Node).DisconnectAll.func1(0x4b189a0, 0xc011bfc000, 0xc, 0x0, 0x0, 0x41cea01)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1198 +0x34
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc011bfc000, 0xc, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:999 +0x6b
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc011be8f00, 0xc, 0x0, 0x0, 0x4986040, 0x0)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc01061ae88, 0xb, 0x0, 0x0, 0x4986040, 0x0)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst.func1(0x4b1b520, 0xc01061ae88, 0xa, 0x0, 0x0, 0x48c59a0)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1004 +0x59
github.com/goki/ki.(*Node).FuncFields(0xc01061aa80, 0xa, 0x0, 0x0, 0xc00919b8c8)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:963 +0x13a
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc01061aa80, 0xa, 0x0, 0x0, 0x4986040, 0x0)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1003 +0xf3
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc01060ee88, 0x9, 0x0, 0x0, 0x4986040, 0x0)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst.func1(0x4b1b520, 0xc01060ee88, 0x8, 0x0, 0x0, 0x48c2880)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1004 +0x59
github.com/goki/ki.(*Node).FuncFields(0xc01060ea80, 0x8, 0x0, 0x0, 0xc00919ba68)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:963 +0x13a
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc01060ea80, 0x8, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1003 +0xf3
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc0083d4000, 0x7, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc0083cca00, 0x6, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc0088a1800, 0x5, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc0084b6a00, 0x4, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc00b291900, 0x3, 0x0, 0x0, 0x4986040, 0x41cea00)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc0085f2a80, 0x2, 0x0, 0x0, 0x4986040, 0xc00a4e0500)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).FuncDownMeFirst(0xc00a4e0500, 0x1, 0x0, 0x0, 0x4986040, 0x80)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1008 +0x175
github.com/goki/ki.(*Node).DisconnectAll(0xc00a4e0500)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:1197 +0x48
github.com/goki/ki.(*Node).Destroy(0xc00a4e0500)
/Users/rohrlich/go/src/github.com/goki/ki/node.go:720 +0xa7
github.com/goki/gi.(*Window).EventLoop(0xc00a4e0500)
/Users/rohrlich/go/src/github.com/goki/gi/window.go:1423 +0x67b
created by github.com/goki/gi.(*Window).GoStartEventLoop
/Users/rohrlich/go/src/github.com/goki/gi/window.go:546 +0x66
rohrlich@MacBook-Pro-4:gide:>

Minor Issue with "Splits" editing

  • For splits specifically might be better to remove +/- and just have 5 labeled elements.

โ€ข There is a limit of 1 + 2 + 2 panels but you can keep adding useless fields to the slice.
-- Disable "+" when limit is reached (disable minus if minimum is reached)
-- Would be useful to put min/max on slice increment generally as I bet there are other cases

Find: results from ignore case display result in lower case

Results should be the actual text with case, not the lowered cased version used for "ignore case"

If I search case sensitive I get:

gide.go: 2
gide.go: ge.FindOrMakeMainTab("Spell", KiT_SpellView, true) // sel
gide.go: fv := fvi.Embed(KiT_SpellView).(*SpellView)

spellingview.go: 1
spellingview.go: var KiT_SpellView = kit.Types.AddType(&SpellVie


If I search case insensitive I get:

e.go: ge.findormakemaintab("spell", kit_spellview, true) // sel
gide.go: fv := fvi.embed(kit_spellview).(*spellview)

spellingview.go: 1
spellingview.go: var kit_spellview = kit.types.addtype(&spellvie

Canceling doesn't restore active view background to white

This is an example - lots of cases:
1 - Click Find... (notice that all views now look inactive)
2 - Cancel Find (notice that all views still look inactive)
3 - Mouse click in "active view" (notice that it still "looks" inactive

Also, if you don't cancel Find then when you click on a link in findview the window goes active and then inactive (i.e. flashes white and back to grey).

Personally I would prefer the active view to stay looking active, short term memory issue :)

Seems we are missing New File

IDEs typically have New--> with various options: At a minimum file and project but often various types of files. Seems like file and project would do it for now.

Comment-Out not working

Brief glimpse of code shows you need to have a selection, is that how it works in emacs?

Any IDE I've used does comment/uncomment on whatever line the cursor is on. I can see where the region version might be useful but would be best if it could comment whole line if no region was selected.

I can take this one if you want.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.