detached e4ce895

style(webkit): remove extra whitespace in webview cgo file

commit
e4ce895b6177bfa367efdbc4c74b25eec475dfd9
author
bamen · · 2025-09-14 21:18 UTC
committer
bamen · · 2025-09-14 17:27 UTC
parent
22c8b62
signature
unsigned
1 file · +0 -2
M pkg/webkit/webview_cgo.go +0 -2
@@ -1241,7 +1241,6 @@ func (w *WebView) dispatchZoomChanged(level float64) {
12411241 }
12421242 }
12431243
1244-
12451244 // enableUserContentManager registers the 'dumber' message handler and injects the omnibox script.
12461245 func (w *WebView) enableUserContentManager(cfg *Config) {
12471246 if w == nil || w.native == nil || w.native.ucm == nil {
@@ -1255,7 +1254,6 @@ func (w *WebView) enableUserContentManager(cfg *Config) {
12551254 }
12561255 C.free(unsafe.Pointer(cname))
12571256
1258-
12591257 // Inject color-scheme preference script at document-start to inform sites of system theme
12601258 preferDark := C.gtk_prefers_dark() != 0
12611259 if preferDark {
@@ -1241,7 +1241,6 @@ func (w *WebView) dispatchZoomChanged(level float64) {
1241 }1241 }
1242 }1242 }
1243 1243
1244-
1245 // enableUserContentManager registers the 'dumber' message handler and injects the omnibox script.1244 // enableUserContentManager registers the 'dumber' message handler and injects the omnibox script.
1246 func (w *WebView) enableUserContentManager(cfg *Config) {1245 func (w *WebView) enableUserContentManager(cfg *Config) {
1247 if w == nil || w.native == nil || w.native.ucm == nil {1246 if w == nil || w.native == nil || w.native.ucm == nil {
@@ -1255,7 +1254,6 @@ func (w *WebView) enableUserContentManager(cfg *Config) {
1255 }1254 }
1256 C.free(unsafe.Pointer(cname))1255 C.free(unsafe.Pointer(cname))
1257 1256
1258-
1259 // Inject color-scheme preference script at document-start to inform sites of system theme1257 // Inject color-scheme preference script at document-start to inform sites of system theme
1260 preferDark := C.gtk_prefers_dark() != 01258 preferDark := C.gtk_prefers_dark() != 0
1261 if preferDark {1259 if preferDark {

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close