Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
interface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
homeostasis
interface
Commits
6d59f30b
Commit
6d59f30b
authored
10 years ago
by
Benoit Favre
Browse files
Options
Downloads
Patches
Plain Diff
prevent interference from automatic scrolling on user actions
parent
56635e22
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+10
-2
10 additions, 2 deletions
README
xmlview_widgets.py
+1
-0
1 addition, 0 deletions
xmlview_widgets.py
with
11 additions
and
2 deletions
README
+
10
−
2
View file @
6d59f30b
...
@@ -20,8 +20,12 @@ developing with pygtk3: http://lazka.github.io/pgi-docs/, https://python-gtk-3-t
...
@@ -20,8 +20,12 @@ developing with pygtk3: http://lazka.github.io/pgi-docs/, https://python-gtk-3-t
Todo:
Todo:
- refactor:
events = click action or words to resynchronize ?
events = click action or words to resynchronize ?
click line = synchronize to that line
click section = select that section
click action = perform action and synchronize to the next line
non intrusive animated scrolling
global action send which deals with
global action send which deals with
- show a warning (optional)
- show a warning (optional)
- sned action through osc
- sned action through osc
...
@@ -30,7 +34,11 @@ add global timer which shows elapsed time
...
@@ -30,7 +34,11 @@ add global timer which shows elapsed time
change xml view to reflect already performed actions, already recognized text
change xml view to reflect already performed actions, already recognized text
configuration for osc
configuration for osc
make configuration box persistant
make selector a proper window
make configuration box options persistant
add thread for slu
allow sequence advance in slu, add UI for that
This diff is collapsed.
Click to expand it.
xmlview_widgets.py
+
1
−
0
View file @
6d59f30b
...
@@ -141,6 +141,7 @@ class XmlView(Gtk.ScrolledWindow):
...
@@ -141,6 +141,7 @@ class XmlView(Gtk.ScrolledWindow):
self
.
add_with_viewport
(
self
.
vbox
)
self
.
add_with_viewport
(
self
.
vbox
)
self
.
last_section
=
None
self
.
last_section
=
None
self
.
connect
(
'
scroll-event
'
,
lambda
widget
,
event
:
animate
.
cancel
())
def
get_view
(
self
):
def
get_view
(
self
):
return
self
return
self
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment