You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Command currentLineWrap is always disabled while currentLineNumbers works well.
These 2 commands should have the same code structure. So I checked the source code and found unexpected difference.
In the currentLineWrap,(
jupyterlab/packages/fileeditor-extension/src/commands.ts
Line 371 in 52442fb
isToggled: () => { const widget = tracker.currentWidget; return ( (widget?.content.editor.getOption('lineWrap') as boolean) ?? false ); }
While in the currentLineNumbers,
(
jupyterlab/packages/fileeditor-extension/src/commands.ts
Lines 326 to 329 in 52442fb
isToggled: () => { const widget = tracker.currentWidget; return ( (widget?.content.editor.getOption('lineNumbers') as | boolean | undefined) ?? false ); }
I believe there is a bug in the code of currentLineWrap, which should follow the way of currentLineNumbers.
Please give a quick fix.
Thanks,
The text was updated successfully, but these errors were encountered: