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

Key/option autocompletion exits after typing in a space #3362

Closed
muzimuzhi opened this issue Nov 12, 2023 · 3 comments
Closed

Key/option autocompletion exits after typing in a space #3362

muzimuzhi opened this issue Nov 12, 2023 · 3 comments

Comments

@muzimuzhi
Copy link
Contributor

Environment

  • TeXstudio: 4.7.0beta1
  • Qt: 6.6.0
  • OS: macOS 13.4.1
  • TeX distribution: irrelevant

Expected behavior

When typing in a key containing space(s), hit space continues autocompletion.

Actual behavior

The autocompletion exits immediately after typing in a space.

How to reproduce

To use tikz option line width=1pt, type in "line" and the autocompletion pops and reduces normally, then hit space. The autocompletion exits.

Screen.Recording.2023-11-12.at.20.36.25.mov
\documentclass{article}
\usepackage{tikz}
% type in "line", then hit space
\tikzset{}

\begin{document}
content
\end{document}
@octaeder
Copy link
Contributor

(maybe as a workaround) enter space as ctrl+space

@octaeder
Copy link
Contributor

This workaround shows a further problem: when you then type w then the completer positions on line width=. But now pressing ctrl+space inserts white.

@octaeder
Copy link
Contributor

Fix is ok from my side, thanks.

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

No branches or pull requests

3 participants