Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable delay for initialization #1028

Merged
merged 2 commits into from
Jul 28, 2017

Conversation

juhasch
Copy link
Member

@juhasch juhasch commented Jul 22, 2017

Workaround for problems like #988, when the gutter is not displayed correctly.
Add a configuration option for a delay in ms.

@@ -10,3 +10,8 @@ Parameters:
description: Hotkey to fold/unfold code
input_type: hotkey
default: Alt-F
- name: init_delay
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the name used in the js is init_timeout!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep.

@@ -9,4 +9,10 @@ Link: readme.md
Icon: codefolding_editor.png
Main: edit.js
Compatibility: 4.x, 5.x
Parameters:
- name: init_delay
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, the name used in the js is init_timeout

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching. I somehow reverted the change I did to the JS file.

@jcb91
Copy link
Member

jcb91 commented Jul 22, 2017

Good plan, just a couple of typos, I think

@jcb91
Copy link
Member

jcb91 commented Jul 28, 2017

looks good to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants