發表文章

目前顯示的是 2月 16, 2019的文章

Attempting to distinguish read-only vs non in Custom Document Well with Reg. Ex

圖片
0 Custom Document Well with Productivity Power Tools for Visual Studio 2017 comes with the ability to change the color of tabs according to Project and/or something they call Reg. Ex. To my understanding this is just ordinary regular expression but out of the box they have a tag, or something, they call [read only] . Something I can't find any documentation about anywhere, or anyone attempting to do anything with? One of the default Reg. Ex.'s look like this: .*.(cpp|c|hpp|h)[ ]*([read only])?$ I thought that meant that there is some functionality for checking if the actual file is read only or not, but I can't for my life figure out how to do that, this is what I've tried so far: .*.(cpp|c|) .*.(h|hpp)[ ]*([])?$ .*.(h|hpp)[ ]*([writable])?$ But the Read Only always seem to take precedence. What I want to achieve is have different colors on my tabs depending on the read only state of the file, and I only want this because I saw the read-only flag in the re

Crisis of the Third Century

圖片
This article may be expanded with text translated from the corresponding article in German . (November 2015) Click [show] for important translation instructions. View a machine-translated version of the German article. Machine translation like Deepl or Google Translate is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Wikipedia. Do not translate text that appears unreliable or low-quality. If possible, verify the text with references provided in the foreign-language article. You must provide copyright attribution in the edit summary accompanying your translation by providing an interlanguage link to the source of your translation. A model attribution edit summary (using German): Content in this edit is translated from the existing German Wikipedia article at [[:de:Exact name of German article]]; see its history for attributi