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

Hiding Languages from sub-menu Languages makes language type for the hidden languages not remembered though the sessions #13743

Closed
donho opened this issue Jun 5, 2023 · 1 comment
Assignees

Comments

@donho
Copy link
Member

donho commented Jun 5, 2023

Description of the Issue

Hiding Languages from sub-menu Languages makes language type (syntax highlighting & folding) for the hidden languages not remembered though the sessions.

Steps to Reproduce the Issue

  1. Open Preferences dialog, go to "Languages" section.
  2. In "Language Menu" part, choose C++ & XML from "Available items" list, put them into "Disabled items" by clicking -> button.
  3. Open some CPP and XML files, and make sure the syntax highlighting & syntax folding working for this files.
  4. Close Notepad++ and relaunch it.

Expected Behavior

The C++ & XML files reopened with both syntax highlighting & syntax folding of its language (C++ or XML) applied.

Actual Behavior

The C++ & XML files reopened with no any language applied.

Debug Information

Notepad++ v8.5.3 (64-bit)
Build time : May 15 2023 - 06:09:36
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 Home (64-bit)
OS Version : 22H2
OS Build : 22621.1778
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)

@Yaron10
Copy link

Yaron10 commented Jun 5, 2023

@donho,

Nice catch. 👍

Thank you.

@donho donho closed this as completed in dba15cf Jun 6, 2023
molsonkiko pushed a commit to molsonkiko/notepad-plus-plus that referenced this issue Jun 13, 2023
Fix document language not remembered through sessions due to languange being hidden from languages menu.

Fix notepad-plus-plus#13743, close notepad-plus-plus#13744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants