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

DecorationRenderOptions / createTextEditorDecorationType doesn't support fontWeight? #6201

Closed
Janne252 opened this issue May 8, 2016 · 1 comment
Assignees
Labels
api bug Issue identified by VS Code Team member as probable bug

Comments

@Janne252
Copy link

Janne252 commented May 8, 2016

vscode.DecorationRenderOptions / vscode.window.createTextEditorDecorationType doesn't support fontWeight. Only way to achieve bolded text (as far as I know) is to escape a supported CSS value:

var userFunctionDecorationStyle = vscode.window.createTextEditorDecorationType({
    light: {
        color: '#c23aff; font-weight: bold'
    },
    dark: {
        color: '#A435A5; font-weight: bold'
    },
});
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug api labels May 9, 2016
@alexdima alexdima added this to the May 2016 milestone May 9, 2016
@alexdima alexdima modified the milestones: June 2016, May 2016 May 26, 2016
@alexdima alexdima removed this from the June 2016 milestone Jun 30, 2016
@alexdima
Copy link
Member

I will pretend I haven't seen that ;)

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants