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

[Feature request] Allow plugins to get/set the existing color choice for a tab #15115

Closed
1 task done
alankilborn opened this issue May 10, 2024 · 1 comment
Closed
1 task done
Assignees
Labels
accepted enhancement Proposed enhancements of existing features feature Feature requests and Feature commits

Comments

@alankilborn
Copy link
Contributor

alankilborn commented May 10, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Currently no way for plugins to manipulate tab coloring, as is settable in N++'s View menu > Tab > Apply Color ...

Describe the solution you'd like.

Implementation of NPPM_GET_TABCOLORINDEX and NPPM_SET_TABCOLORINDEX as plugin commands.

Debug Information

Notepad++ v8.6.6   (64-bit)
Build time : May  6 2024 - 21:59:00
Path : C:\NotepadPlusPlus\Misc\_NoBackup\Releases\npp.8.6.6\npp.8.6.6.portable.x64\notepad++.exe
Command Line : -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.3447
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

A scripting reason for wanting to be able to get tab coloring is discussed here: https://community.notepad-plus-plus.org/post/94744

@alankilborn
Copy link
Contributor Author

@donho If this issue is acceptable, you can assign me and I'll work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted enhancement Proposed enhancements of existing features feature Feature requests and Feature commits
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants