<blockquote>
<p>When I typedef int abc; abc is highlighted as a new type, but using abc = int; doesn't.</p>
</blockquote>
<p>duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="92295634" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/545" href="https://github.com/geany/geany/issues/545">#545</a> (one of)</p>
<p>The parsers come from the <a href="https://github.com/universal-ctags/ctags">Universal ctags</a> project (I'm getting sick of saying that).  That project is developing a new C++ parser which may be better, watch this space.</p>
<blockquote>
<p>Moreover, it would be niece to have third kind of color for keywords.</p>
</blockquote>
<p>Highlighting lexers determine the number of sets of defined names they accept.  The lexers are part of the <a href="https://www.scintilla.org/" rel="nofollow">Scintilla</a> project and the change would need to happen there first.</p>
<blockquote>
<p>is it possible to declare keywords highlighted as numbers (ex. true, false, nullptr in the same color as 42, 0xDEADBEEF and so on)</p>
</blockquote>
<p>Each set of keywords has its own style and thats separate from numbers, but there is nothing stopping you editing your colour scheme to make the two styles look the same.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1944#issuecomment-418275247">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3Y0ByEUpjRK74CQMF7VkJuuElXUks5uXjHFgaJpZM4WYc8O">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ4pDJTObHaXWH0fUQ8EMhsSBfr5aks5uXjHFgaJpZM4WYc8O.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #1944: \u003e When I typedef int abc; abc is highlighted as a new type, but using abc = int; doesn't.\r\n\r\nduplicate of #545 (one of)\r\n\r\nThe parsers come from the [Universal ctags](https://github.com/universal-ctags/ctags) project (I'm getting sick of saying that).  That project is developing a new C++ parser which may be better, watch this space.\r\n\r\n\u003e Moreover, it would be niece to have third kind of color for keywords.\r\n\r\nHighlighting lexers determine the number of sets of defined names they accept.  The lexers are part of the [Scintilla](https://www.scintilla.org/) project and the change would need to happen there first.\r\n\r\n\u003e is it possible to declare keywords highlighted as numbers (ex. true, false, nullptr in the same color as 42, 0xDEADBEEF and so on) \r\n\r\nEach set of keywords has its own style and thats separate from numbers, but there is nothing stopping you editing your colour scheme to make the two styles look the same.\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1944#issuecomment-418275247"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1944#issuecomment-418275247",
"url": "https://github.com/geany/geany/issues/1944#issuecomment-418275247",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] C++ highlighting new type by ,,using'' syntax (#1944)",
"sections": [
{
"text": "",
"activityTitle": "**elextr**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@elextr",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1944,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1944\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1944#issuecomment-418275247"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 375508750\n}"
}
],
"themeColor": "26292E"
}
]</script>