|
|
2/3/4. Isn't that a Tip?
Use the best guess
|
|
|
|
|
I am not saying I agree, but, Bill has some sense in his words -
If you look at articles dated 3 years ago + far too many would not qualify as an article today, and would be marked as "Wrong type" that should be a Tip/Trick.
Never underestimate the difference U can make in the lives of others.
∫(Edo )dx = Tzumer
∑k( this.Kid) k = this. ♥
|
|
|
|
|
Maimonides wrote: articles dated 3 years ago + True, but I don't think anyone is going to go through them all and change their type.
Use the best guess
|
|
|
|
|
I believe you have just given me a hint that what I propose is rational since it can be expressed as 2/3/4: so I have upvoted your meta-comment.
thanks, Bill
~
“This isn't right; this isn't even wrong." Wolfgang Pauli, commenting on a physics paper submitted for a journal
|
|
|
|
|
add www.codeproject.com to ur bookmark then click on book mark then from
quick answers menu click on asp.net questions you will found no questions found then on same page
from quick answers menu click on asp.net questions you will found all questions is this error........?
|
|
|
|
|
The article Custom Controls in Win32 API" Visual Styles[^] seems to have some messed history of revisions.
I have got notification that it is already published, but sometimes the article goes to some old (unpublished) revision from the main list of Articles (http://www.codeproject.com/script/Articles/Latest.aspx), and I have not received rep. points for it.
I already report something strange few days ago here: http://www.codeproject.com/Messages/4616441/Confused-from-revision-history-of-an-article-being.aspx
Please can some admin take a look on it and fix the history?
UPDATE: According to the editor's reply in the article comments, he experienced theproblem too so it is not about my browser cache or whatever.
UPDATE 2: Not sure what has happened, the publicly available links lead to the right revision. However still I haven't got the 100 reputation points for publishing the article and also the "Revisions" of the article does not list any revision marked as published.... I would like edit the article to fix some typos and grammar but I'm too scared I break it more then it is sue to this issue.
modified 21-Jul-13 7:42am.
|
|
|
|
|
|
I needed to use a table in my article. As it needed some cell borders to be usable due to some colspans and rowspans, I toggled the "toggle borders" in the editor toolbar. It added a class "htmltableborders" to the table but it has no effect on the article preview. After inspection it can be seen that the CSS referred from article does not define such class.
(I found the class "grid" in the CSS, which I decided to use. Hope it is the appropriate one.)
|
|
|
|
|
I think I'd need to see what you were doing to recommend the correct course of action. I'm also curious to see if "grid" will work.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
It is the article Custom Controls in Win32 API: Visual Styles[^].
(The section "Useful Global Properties").
What I was doing before was to simply using the button "table" on a toolbar of the edit in the WYSIWYG mode, then select it with mouse and clicked 2nd button, "toggle borders". It worked in the sense that it changed the HTML source: It added class="htmltableborder" to the tag <table> . Unfortunately that class is not set in the CSS of the site, hence it has no effect.
The workaround with manual specifying of the class "gird" works of course. I was just unsure, if you can guarantee it will stand when (for example) you decide to change theme of the site in the future. That would break the article. That's what my report was about. And still as good it is now, it is still a workaround. Although this site is for geeks and hackers (in positive meaning of the word), it would be nice if authors do not ned to use these powers to write articles.
|
|
|
|
|
Code Project recognizes the value of language formatting inside of code blocks within articles. This improves readability, and provides a means for displaying the code as the language would be in its common environments. There are language formats available for common ones such as XML, C#, ASP.Net.
I think Code Project should also be a place to talk about lesser known or new technologies with an equal ability to present. For displaying these (or any) technologies in code blocks, there should be a way to perform custom highlighting if the highlighting rules do not fit a common one. Or is there already a way to do this?
Displaying uncommon highlighting via images is not the preferable approach, and apparently also not an accepted approach.
|
|
|
|
|
Adding a new language is easy, and is my preferred way. If there's a syntax you want added and you have the list of keywords + syntax rules then it's reasonably quick for me to get it setup.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks Chris. The language I was particularly interested in highlighting is currently obscure, and the highlighting rules can change significantly during run time, but I can supply some typical rules.
What format would you like these rules? I can easily supply them as an AvalonEdit syntax definition (xml), or another format.
|
|
|
|
|
Dave Clemmer wrote: the highlighting rules can change significantly during run time
Oh boy.
Dave Clemmer wrote: What format would you like these rules?
The AvalonEdit syntax is similar to our own (sorta-kinda) so that's fine. Even just a text document outlining the keywords, comment and string delimiters and anything funky I need to be careful of will do.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
The language I'm particularly interested in formatting is Mo+, and a typical AvalonEdit syntax definition looks like the blurb below. Basically, there are tag groups beginning with <%%-, <%%:, <%%=, or <%%> and ending with %%> that are highlighted similar to ASP.Net. Anything between <%%- and %%> is DarkOrange, anything between <%%> and %%> is Magenta, and other rules are listed below.
<?xml version="1.0"?>
<SyntaxDefinition name="Content Highlighting" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
<Color name="Comment" foreground="DarkGreen" />
<Color name="Phrase" foreground="DarkOrange" />
<Color name="Evaluation" foreground="Brown" />
<Color name="EvaluationRecognized" foreground="Blue" />
<Color name="ContentProperty" foreground="Brown" />
<Color name="ContentPropertyRecognized" foreground="Teal" />
<Color name="DebugStatement" foreground="Red" />
<Color name="OutputProperty" foreground="Magenta" />
<Color name="OutputStatement" foreground="Magenta" />
<Color name="Symbol" fontWeight="bold" foreground="Gray" background="Yellow" />
<Color name="Literal" foreground="SlateBlue" />
<Color name="Method" foreground="Chocolate" />
<Color name="Property" foreground="Teal" />
<!-- Content ruleset. -->
<RuleSet>
<Span color="Comment" begin="//" />
<Span color="Comment" multiline="true" begin="/\*" end="\*/" />
<Span color="ContentProperty" multiline="true">
<Begin color="Symbol"><%%=</Begin>
<End color="Symbol">%%></End>
<RuleSet>
<Keywords color="ContentPropertyRecognized">
<Word>Solution</Word>
<Word>Project</Word>
<Word>AuditProperty</Word>
<Word>Collection</Word>
<Word>Entity</Word>
<Word>EntityReference</Word>
<Word>ReferencedEntity</Word>
<Word>ReferencedProperty</Word>
<Word>Feature</Word>
<Word>Index</Word>
<Word>IndexProperty</Word>
<Word>Method</Word>
<Word>Parameter</Word>
<Word>PropertyReference</Word>
<Word>Relationship</Word>
<Word>RelationshipProperty</Word>
<Word>BaseEntity</Word>
<Word>Property</Word>
<Word>PropertyRelationship</Word>
<Word>MethodRelationship</Word>
<Word>Workflow</Word>
<Word>Stage</Word>
<Word>StageTransition</Word>
<Word>Step</Word>
<Word>StepTransition</Word>
<Word>State</Word>
<Word>StateTransition</Word>
<Word>StateModel</Word>
<Word>CurrentStateModel</Word>
<Word>CurrentWorkflow</Word>
<Word>CurrentStage</Word>
<Word>CurrentStageTransition</Word>
<Word>CurrentStep</Word>
<Word>CurrentStepTransition</Word>
<Word>CurrentState</Word>
<Word>CurrentStateTransition</Word>
<Word>CurrentAuditProperty</Word>
<Word>CurrentCollection</Word>
<Word>CurrentEntity</Word>
<Word>CurrentEntityReference</Word>
<Word>CurrentFeature</Word>
<Word>CurrentIndex</Word>
<Word>CurrentIndexProperty</Word>
<Word>CurrentMethod</Word>
<Word>CurrentMethodRelationship</Word>
<Word>CurrentParameter</Word>
<Word>CurrentProject</Word>
<Word>CurrentProperty</Word>
<Word>CurrentPropertyReference</Word>
<Word>CurrentPropertyRelationship</Word>
<Word>CurrentRelationship</Word>
<Word>CurrentRelationshipProperty</Word>
<Word>CurrentSqlColumn</Word>
<Word>CurrentSqlDatabase</Word>
<Word>CurrentSqlExtendedProperty</Word>
<Word>CurrentSqlForeignKey</Word>
<Word>CurrentSqlForeignKeyColumn</Word>
<Word>CurrentSqlIndex</Word>
<Word>CurrentSqlIndexedColumn</Word>
<Word>CurrentSqlProperty</Word>
<Word>CurrentSqlTable</Word>
<Word>SqlColumn</Word>
<Word>SqlDatabase</Word>
<Word>SqlExtendedProperty</Word>
<Word>SqlForeignKey</Word>
<Word>SqlForeignKeyColumn</Word>
<Word>EntityReferences</Word>
<Word>SqlIndex</Word>
<Word>SqlIndexedColumn</Word>
<Word>SqlProperty</Word>
<Word>SqlTable</Word>
<Word>SolutionName</Word>
<Word>Copyright</Word>
<Word>Description</Word>
<Word>CompanyName</Word>
<Word>ProductName</Word>
<Word>ProductVersion</Word>
<Word>SolutionDirectory</Word>
<Word>ProjectName</Word>
<Word>Namespace</Word>
<Word>DbServerName</Word>
<Word>DbName</Word>
<Word>FeatureName</Word>
<Word>EntityName</Word>
<Word>DbSchema</Word>
<Word>SourceName</Word>
<Word>PluralEntityName</Word>
<Word>PropertyName</Word>
<Word>DataTypeCode</Word>
<Word>DataTypeName</Word>
<Word>IdentifierTypeCode</Word>
<Word>IdentifierTypeName</Word>
<Word>EntityTypeCode</Word>
<Word>EntityTypeName</Word>
<Word>IsAddAuditProperty</Word>
<Word>IsUpdateAuditProperty</Word>
<Word>IsValueGenerated</Word>
<Word>IsPrimaryKeyMember</Word>
<Word>IsForeignKeyMember</Word>
<Word>Count</Word>
<Word>Precision</Word>
<Word>Scale</Word>
<Word>ItemsMin</Word>
<Word>ItemsMax</Word>
<Word>ReferencedItemsMin</Word>
<Word>ReferencedItemsMax</Word>
<Word>DatabaseTypeCode</Word>
<Word>DatabaseTypeName</Word>
<Word>UserName</Word>
<Word>Password</Word>
<Word>InitialValue</Word>
<Word>IsNullable</Word>
<Word>Order</Word>
<Word>CollectionName</Word>
<Word>PropertyReferenceName</Word>
<Word>EntityReferenceName</Word>
<Word>MethodName</Word>
<Word>MethodTypeCode</Word>
<Word>MethodTypeName</Word>
<Word>ParameterName</Word>
<Word>IndexName</Word>
<Word>IsPrimaryKeyIndex</Word>
<Word>IsUniqueIndex</Word>
<Word>RelationshipName</Word>
<Word>SolutionID</Word>
<Word>ProjectID</Word>
<Word>EntityID</Word>
<Word>BaseEntityID</Word>
<Word>FeatureID</Word>
<Word>ReferencedEntityID</Word>
<Word>PropertyID</Word>
<Word>ReferencedPropertyID</Word>
<Word>MethodID</Word>
<Word>ParameterID</Word>
<Word>IndexID</Word>
<Word>RelationshipID</Word>
<Word>StateModelName</Word>
<Word>StateName</Word>
<Word>StateTransitionName</Word>
<Word>WorkflowName</Word>
<Word>StageName</Word>
<Word>StageTransitionName</Word>
<Word>StepName</Word>
<Word>StepTransitionName</Word>
<Word>StateModelID</Word>
<Word>StateID</Word>
<Word>StateTransitionID</Word>
<Word>FromStateID</Word>
<Word>ToStateID</Word>
<Word>WorkflowID</Word>
<Word>StageID</Word>
<Word>StageTransitionID</Word>
<Word>FromStageID</Word>
<Word>ToStageID</Word>
<Word>StepID</Word>
<Word>StepTransitionID</Word>
<Word>FromStepID</Word>
<Word>ToStepID</Word>
<Word>Template</Word>
<Word>Tag</Word>
<Word>Tags</Word>
<Word>TagName</Word>
<Word>ParameterCount</Word>
<Word>PropertyReferenceCount</Word>
<Word>PropertyCount</Word>
<Word>CollectionCount</Word>
<Word>EntityReferenceCount</Word>
<Word>MethodCount</Word>
<Word>EntityCount</Word>
<Word>SqlTableCount</Word>
<Word>IsAuditProperty</Word>
<Word>IsBaseProperty</Word>
<Word>DefaultSourceName</Word>
<Word>OriginalName</Word>
<Word>IsAutoUpdated</Word>
<Word>ProjectReferenceCount</Word>
<Word>ProjectCount</Word>
<Word>SqlDatabaseID</Word>
<Word>SqlTableID</Word>
<Word>SqlColumnID</Word>
<Word>SqlIndexID</Word>
<Word>SqlIndexedColumnID</Word>
<Word>SqlForeignKeyID</Word>
<Word>SqlForeignKeyColumnID</Word>
<Word>SqlPropertyID</Word>
<Word>SqlExtendedPropertyID</Word>
<Word>SqlColumnName</Word>
<Word>DbID</Word>
<Word>DataType</Word>
<Word>MaximumLength</Word>
<Word>NumericPrecision</Word>
<Word>NumericScale</Word>
<Word>Default</Word>
<Word>DefaultSchema</Word>
<Word>IsFullTextIndexed</Word>
<Word>IsForeignKey</Word>
<Word>InPrimaryKey</Word>
<Word>PrimaryKeyColumnCount</Word>
<Word>ForeignKeyColumnCount</Word>
<Word>PrimaryAndForeignKeyColumnCount</Word>
<Word>Nullable</Word>
<Word>Identity</Word>
<Word>IdentitySeed</Word>
<Word>IdentityIncrement</Word>
<Word>Urn</Word>
<Word>State</Word>
<Word>SqlTableName</Word>
<Word>CreateDate</Word>
<Word>DateLastModified</Word>
<Word>SqlDatabaseName</Word>
<Word>Owner</Word>
<Word>PrimaryFilePath</Word>
<Word>DefaultFileGroup</Word>
<Word>DefaultFullTextCatalog</Word>
<Word>Status</Word>
<Word>UserName</Word>
<Word>SqlExtendedPropertyName</Word>
<Word>Value</Word>
<Word>SqlForeignKeyName</Word>
<Word>ReferencedKey</Word>
<Word>ReferencedTable</Word>
<Word>ReferencedTableSchema</Word>
<Word>IsChecked</Word>
<Word>IsSystemNamed</Word>
<Word>SqlForeignKeyColumnName</Word>
<Word>ReferencedColumn</Word>
<Word>SqlIndexName</Word>
<Word>IsClustered</Word>
<Word>IsUnique</Word>
<Word>IsXmlIndex</Word>
<Word>IsFullTextKey</Word>
<Word>FileGroup</Word>
<Word>SqlIndexedColumnName</Word>
<Word>IsIncluded</Word>
<Word>IsComputed</Word>
<Word>Descending</Word>
<Word>SqlPropertyName</Word>
<Word>Type</Word>
<Word>Schema</Word>
<Word>ItemIndex</Word>
<Word>Text</Word>
<Word>Path</Word>
<Word>LibraryDirectory</Word>
<Word>IsRelatedToProperty</Word>
<Word>EntityAndBaseEntities</Word>
<Word>BaseAndEntityEntities</Word>
<Word>PathRelationships</Word>
<Word>ExtendingEntities</Word>
<Word>Record</Word>
<Word>UnderscoreCase</Word>
<Word>CamelCase</Word>
<Word>Find</Word>
<Word>FindAll</Word>
<Word>Substring</Word>
<Word>Replace</Word>
<Word>ToLower</Word>
<Word>ToUpper</Word>
<Word>StartsWith</Word>
<Word>EndsWith</Word>
<Word>IndexOf</Word>
<Word>Contains</Word>
<Word>Length</Word>
<Word>Column</Word>
<Word>Filter</Word>
<Word>FilterProtected</Word>
<Word>FilterIgnored</Word>
<Word>File</Word>
<Word>FileExists</Word>
<Word>Trim</Word>
<Word>TrimStart</Word>
<Word>TrimEnd</Word>
<Word>RegexIsMatch</Word>
<Word>RegexReplace</Word>
<Word>LogValue</Word>
<Word>HasPropertyNamed</Word>
<Word>ItemFile</Word>
<Word>ItemPath</Word>
<Word>.</Word>
<Word>+</Word>
<Word>-</Word>
<Word>*</Word>
<Word>/</Word>
</Keywords>
<Keywords color="Method">
<Word>TAB</Word>
<Word>TABSTRING</Word>
<Word>USEPROTECTEDAREAS</Word>
<Word>PROTECTEDAREASTART</Word>
<Word>PROTECTEDAREAEND</Word>
<Word>USEIGNOREDAREAS</Word>
<Word>IGNOREDAREASTART</Word>
<Word>IGNOREDAREAEND</Word>
<Word>USETABS</Word>
<Word>NOW</Word>
<Word>USER</Word>
</Keywords>
</RuleSet>
</Span>
<Span color="OutputProperty" multiline="true">
<Begin color="Symbol"><%%></Begin>
<End color="Symbol">%%></End>
</Span>
<Span color="Phrase" multiline="true">
<Begin color="Symbol"><%%-</Begin>
<End color="Symbol">%%></End>
</Span>
<Span color="Evaluation" multiline="true" >
<Begin color="Symbol"><%%:</Begin>
<End color="Symbol">%%></End>
<RuleSet>
<Keywords color="Property">
<Word>Solution</Word>
<Word>Project</Word>
<Word>AuditProperty</Word>
<Word>Collection</Word>
<Word>Entity</Word>
<Word>EntityReference</Word>
<Word>ReferencedEntity</Word>
<Word>ReferencedProperty</Word>
<Word>Feature</Word>
<Word>Index</Word>
<Word>IndexProperty</Word>
<Word>Method</Word>
<Word>Parameter</Word>
<Word>PropertyReference</Word>
<Word>Relationship</Word>
<Word>RelationshipProperty</Word>
<Word>BaseEntity</Word>
<Word>Property</Word>
<Word>PropertyRelationship</Word>
<Word>MethodRelationship</Word>
<Word>Workflow</Word>
<Word>Stage</Word>
<Word>StageTransition</Word>
<Word>Step</Word>
<Word>StepTransition</Word>
<Word>State</Word>
<Word>StateTransition</Word>
<Word>StateModel</Word>
<Word>CurrentStateModel</Word>
<Word>CurrentWorkflow</Word>
<Word>CurrentStage</Word>
<Word>CurrentStageTransition</Word>
<Word>CurrentStep</Word>
<Word>CurrentStepTransition</Word>
<Word>CurrentState</Word>
<Word>CurrentStateTransition</Word>
<Word>CurrentAuditProperty</Word>
<Word>CurrentCollection</Word>
<Word>CurrentEntity</Word>
<Word>CurrentEntityReference</Word>
<Word>CurrentFeature</Word>
<Word>CurrentIndex</Word>
<Word>CurrentIndexProperty</Word>
<Word>CurrentMethod</Word>
<Word>CurrentMethodRelationship</Word>
<Word>CurrentParameter</Word>
<Word>CurrentProject</Word>
<Word>CurrentProperty</Word>
<Word>CurrentPropertyReference</Word>
<Word>CurrentPropertyRelationship</Word>
<Word>CurrentRelationship</Word>
<Word>CurrentRelationshipProperty</Word>
<Word>CurrentSqlColumn</Word>
<Word>CurrentSqlDatabase</Word>
<Word>CurrentSqlExtendedProperty</Word>
<Word>CurrentSqlForeignKey</Word>
<Word>CurrentSqlForeignKeyColumn</Word>
<Word>CurrentSqlIndex</Word>
<Word>CurrentSqlIndexedColumn</Word>
<Word>CurrentSqlProperty</Word>
<Word>CurrentSqlTable</Word>
<Word>SqlColumn</Word>
<Word>SqlDatabase</Word>
<Word>SqlExtendedProperty</Word>
<Word>SqlForeignKey</Word>
<Word>SqlForeignKeyColumn</Word>
<Word>EntityReferences</Word>
<Word>SqlIndex</Word>
<Word>SqlIndexedColumn</Word>
<Word>SqlProperty</Word>
<Word>SqlTable</Word>
<Word>SolutionName</Word>
<Word>Copyright</Word>
<Word>Description</Word>
<Word>CompanyName</Word>
<Word>ProductName</Word>
<Word>ProductVersion</Word>
<Word>SolutionDirectory</Word>
<Word>ProjectName</Word>
<Word>Namespace</Word>
<Word>DbServerName</Word>
<Word>DbName</Word>
<Word>FeatureName</Word>
<Word>EntityName</Word>
<Word>DbSchema</Word>
<Word>SourceName</Word>
<Word>PluralEntityName</Word>
<Word>PropertyName</Word>
<Word>DataTypeCode</Word>
<Word>DataTypeName</Word>
<Word>IdentifierTypeCode</Word>
<Word>IdentifierTypeName</Word>
<Word>EntityTypeCode</Word>
<Word>EntityTypeName</Word>
<Word>IsAddAuditProperty</Word>
<Word>IsUpdateAuditProperty</Word>
<Word>IsValueGenerated</Word>
<Word>IsPrimaryKeyMember</Word>
<Word>IsForeignKeyMember</Word>
<Word>Count</Word>
<Word>Precision</Word>
<Word>Scale</Word>
<Word>ItemsMin</Word>
<Word>ItemsMax</Word>
<Word>ReferencedItemsMin</Word>
<Word>ReferencedItemsMax</Word>
<Word>DatabaseTypeCode</Word>
<Word>DatabaseTypeName</Word>
<Word>UserName</Word>
<Word>Password</Word>
<Word>InitialValue</Word>
<Word>IsNullable</Word>
<Word>Order</Word>
<Word>CollectionName</Word>
<Word>PropertyReferenceName</Word>
<Word>EntityReferenceName</Word>
<Word>MethodName</Word>
<Word>MethodTypeCode</Word>
<Word>MethodTypeName</Word>
<Word>ParameterName</Word>
<Word>IndexName</Word>
<Word>IsPrimaryKeyIndex</Word>
<Word>IsUniqueIndex</Word>
<Word>RelationshipName</Word>
<Word>SolutionID</Word>
<Word>ProjectID</Word>
<Word>EntityID</Word>
<Word>BaseEntityID</Word>
<Word>FeatureID</Word>
<Word>ReferencedEntityID</Word>
<Word>PropertyID</Word>
<Word>ReferencedPropertyID</Word>
<Word>MethodID</Word>
<Word>ParameterID</Word>
<Word>IndexID</Word>
<Word>RelationshipID</Word>
<Word>StateModelName</Word>
<Word>StateName</Word>
<Word>StateTransitionName</Word>
<Word>WorkflowName</Word>
<Word>StageName</Word>
<Word>StageTransitionName</Word>
<Word>StepName</Word>
<Word>StepTransitionName</Word>
<Word>StateModelID</Word>
<Word>StateID</Word>
<Word>StateTransitionID</Word>
<Word>FromStateID</Word>
<Word>ToStateID</Word>
<Word>WorkflowID</Word>
<Word>StageID</Word>
<Word>StageTransitionID</Word>
<Word>FromStageID</Word>
<Word>ToStageID</Word>
<Word>StepID</Word>
<Word>StepTransitionID</Word>
<Word>FromStepID</Word>
<Word>ToStepID</Word>
<Word>Template</Word>
<Word>Tag</Word>
<Word>Tags</Word>
<Word>TagName</Word>
<Word>ParameterCount</Word>
<Word>PropertyReferenceCount</Word>
<Word>PropertyCount</Word>
<Word>CollectionCount</Word>
<Word>EntityReferenceCount</Word>
<Word>MethodCount</Word>
<Word>EntityCount</Word>
<Word>SqlTableCount</Word>
<Word>IsAuditProperty</Word>
<Word>IsBaseProperty</Word>
<Word>DefaultSourceName</Word>
<Word>OriginalName</Word>
<Word>IsAutoUpdated</Word>
<Word>ProjectReferenceCount</Word>
<Word>ProjectCount</Word>
<Word>SqlDatabaseID</Word>
<Word>SqlTableID</Word>
<Word>SqlColumnID</Word>
<Word>SqlIndexID</Word>
<Word>SqlIndexedColumnID</Word>
<Word>SqlForeignKeyID</Word>
<Word>SqlForeignKeyColumnID</Word>
<Word>SqlPropertyID</Word>
<Word>SqlExtendedPropertyID</Word>
<Word>SqlColumnName</Word>
<Word>DbID</Word>
<Word>DataType</Word>
<Word>MaximumLength</Word>
<Word>NumericPrecision</Word>
<Word>NumericScale</Word>
<Word>Default</Word>
<Word>DefaultSchema</Word>
<Word>IsFullTextIndexed</Word>
<Word>IsForeignKey</Word>
<Word>InPrimaryKey</Word>
<Word>PrimaryKeyColumnCount</Word>
<Word>ForeignKeyColumnCount</Word>
<Word>PrimaryAndForeignKeyColumnCount</Word>
<Word>Nullable</Word>
<Word>Identity</Word>
<Word>IdentitySeed</Word>
<Word>IdentityIncrement</Word>
<Word>Urn</Word>
<Word>State</Word>
<Word>SqlTableName</Word>
<Word>CreateDate</Word>
<Word>DateLastModified</Word>
<Word>SqlDatabaseName</Word>
<Word>Owner</Word>
<Word>PrimaryFilePath</Word>
<Word>DefaultFileGroup</Word>
<Word>DefaultFullTextCatalog</Word>
<Word>Status</Word>
<Word>UserName</Word>
<Word>SqlExtendedPropertyName</Word>
<Word>Value</Word>
<Word>SqlForeignKeyName</Word>
<Word>ReferencedKey</Word>
<Word>ReferencedTable</Word>
<Word>ReferencedTableSchema</Word>
<Word>IsChecked</Word>
<Word>IsSystemNamed</Word>
<Word>SqlForeignKeyColumnName</Word>
<Word>ReferencedColumn</Word>
<Word>SqlIndexName</Word>
<Word>IsClustered</Word>
<Word>IsUnique</Word>
<Word>IsXmlIndex</Word>
<Word>IsFullTextKey</Word>
<Word>FileGroup</Word>
<Word>SqlIndexedColumnName</Word>
<Word>IsIncluded</Word>
<Word>IsComputed</Word>
<Word>Descending</Word>
<Word>SqlPropertyName</Word>
<Word>Type</Word>
<Word>Schema</Word>
<Word>ItemIndex</Word>
<Word>Text</Word>
<Word>Path</Word>
<Word>LibraryDirectory</Word>
<Word>IsRelatedToProperty</Word>
<Word>EntityAndBaseEntities</Word>
<Word>BaseAndEntityEntities</Word>
<Word>PathRelationships</Word>
<Word>ExtendingEntities</Word>
<Word>Record</Word>
<Word>UnderscoreCase</Word>
<Word>CamelCase</Word>
<Word>Find</Word>
<Word>FindAll</Word>
<Word>Substring</Word>
<Word>Replace</Word>
<Word>ToLower</Word>
<Word>ToUpper</Word>
<Word>StartsWith</Word>
<Word>EndsWith</Word>
<Word>IndexOf</Word>
<Word>Contains</Word>
<Word>Length</Word>
<Word>Column</Word>
<Word>Filter</Word>
<Word>FilterProtected</Word>
<Word>FilterIgnored</Word>
<Word>File</Word>
<Word>FileExists</Word>
<Word>Trim</Word>
<Word>TrimStart</Word>
<Word>TrimEnd</Word>
<Word>RegexIsMatch</Word>
<Word>RegexReplace</Word>
<Word>LogValue</Word>
<Word>HasPropertyNamed</Word>
<Word>ItemFile</Word>
<Word>ItemPath</Word>
<Word>.</Word>
<Word>+</Word>
<Word>-</Word>
<Word>*</Word>
<Word>/</Word>
</Keywords>
<Keywords color="Method">
<Word>TAB</Word>
<Word>TABSTRING</Word>
<Word>USEPROTECTEDAREAS</Word>
<Word>PROTECTEDAREASTART</Word>
<Word>PROTECTEDAREAEND</Word>
<Word>USEIGNOREDAREAS</Word>
<Word>IGNOREDAREASTART</Word>
<Word>IGNOREDAREAEND</Word>
<Word>USETABS</Word>
<Word>NOW</Word>
<Word>USER</Word>
</Keywords>
<Keywords color="DebugStatement">
<Word>debug</Word>
<Word>trace</Word>
</Keywords>
<Keywords color="OutputStatement">
<Word>update</Word>
<Word>delete</Word>
<Word>remove</Word>
<Word>insert</Word>
</Keywords>
<Keywords color="EvaluationRecognized">
<Word>if</Word>
<Word>foreach</Word>
<Word>while</Word>
<Word>in</Word>
<Word>where</Word>
<Word>limit</Word>
<Word>sort</Word>
<Word>asc</Word>
<Word>desc</Word>
<Word>with</Word>
<Word>from</Word>
<Word>else</Word>
<Word>switch</Word>
<Word>case</Word>
<Word>default</Word>
<Word>break</Word>
<Word>clear</Word>
<Word>return</Word>
<Word>var</Word>
<Word>param</Word>
<Word>log</Word>
<Word>forfiles</Word>
<Word>progress</Word>
<Word>.</Word>
<Word>+</Word>
<Word>-</Word>
<Word>*</Word>
<Word>/</Word>
<Word>,</Word>
<Word>:</Word>
<Word>(</Word>
<Word>)</Word>
<Word>{</Word>
<Word>}</Word>
<Word>=</Word>
<Word>!</Word>
<Word>|</Word>
<Word>&</Word>
<Word>></Word>
<Word><</Word>
</Keywords>
<Span color="Comment" begin="//" />
<Span color="Comment" multiline="true" begin="/\*" end="\*/" />
<Span color="ContentProperty" multiline="true">
<Begin color="Symbol"><%%=</Begin>
<End color="Symbol">%%></End>
<RuleSet>
<Keywords color="ContentPropertyRecognized">
<Word>Solution</Word>
<Word>Project</Word>
<Word>AuditProperty</Word>
<Word>Collection</Word>
<Word>Entity</Word>
<Word>EntityReference</Word>
<Word>ReferencedEntity</Word>
<Word>ReferencedProperty</Word>
<Word>Feature</Word>
<Word>Index</Word>
<Word>IndexProperty</Word>
<Word>Method</Word>
<Word>Parameter</Word>
<Word>PropertyReference</Word>
<Word>Relationship</Word>
<Word>RelationshipProperty</Word>
<Word>BaseEntity</Word>
<Word>Property</Word>
<Word>PropertyRelationship</Word>
<Word>MethodRelationship</Word>
<Word>Workflow</Word>
<Word>Stage</Word>
<Word>StageTransition</Word>
<Word>Step</Word>
<Word>StepTransition</Word>
<Word>State</Word>
<Word>StateTransition</Word>
<Word>StateModel</Word>
<Word>CurrentStateModel</Word>
<Word>CurrentWorkflow</Word>
<Word>CurrentStage</Word>
<Word>CurrentStageTransition</Word>
<Word>CurrentStep</Word>
<Word>CurrentStepTransition</Word>
<Word>CurrentState</Word>
<Word>CurrentStateTransition</Word>
<Word>CurrentAuditProperty</Word>
<Word>CurrentCollection</Word>
<Word>CurrentEntity</Word>
<Word>CurrentEntityReference</Word>
<Word>CurrentFeature</Word>
<Word>CurrentIndex</Word>
<Word>CurrentIndexProperty</Word>
<Word>CurrentMethod</Word>
<Word>CurrentMethodRelationship</Word>
<Word>CurrentParameter</Word>
<Word>CurrentProject</Word>
<Word>CurrentProperty</Word>
<Word>CurrentPropertyReference</Word>
<Word>CurrentPropertyRelationship</Word>
<Word>CurrentRelationship</Word>
<Word>CurrentRelationshipProperty</Word>
<Word>CurrentSqlColumn</Word>
<Word>CurrentSqlDatabase</Word>
<Word>CurrentSqlExtendedProperty</Word>
<Word>CurrentSqlForeignKey</Word>
<Word>CurrentSqlForeignKeyColumn</Word>
<Word>CurrentSqlIndex</Word>
<Word>CurrentSqlIndexedColumn</Word>
<Word>CurrentSqlProperty</Word>
<Word>CurrentSqlTable</Word>
<Word>SqlColumn</Word>
<Word>SqlDatabase</Word>
<Word>SqlExtendedProperty</Word>
<Word>SqlForeignKey</Word>
<Word>SqlForeignKeyColumn</Word>
<Word>EntityReferences</Word>
<Word>SqlIndex</Word>
<Word>SqlIndexedColumn</Word>
<Word>SqlProperty</Word>
<Word>SqlTable</Word>
<Word>SolutionName</Word>
<Word>Copyright</Word>
<Word>Description</Word>
<Word>CompanyName</Word>
<Word>ProductName</Word>
<Word>ProductVersion</Word>
<Word>SolutionDirectory</Word>
<Word>ProjectName</Word>
<Word>Namespace</Word>
<Word>DbServerName</Word>
<Word>DbName</Word>
<Word>FeatureName</Word>
<Word>EntityName</Word>
<Word>DbSchema</Word>
<Word>SourceName</Word>
<Word>PluralEntityName</Word>
<Word>PropertyName</Word>
<Word>DataTypeCode</Word>
<Word>DataTypeName</Word>
<Word>IdentifierTypeCode</Word>
<Word>IdentifierTypeName</Word>
<Word>EntityTypeCode</Word>
<Word>EntityTypeName</Word>
<Word>IsAddAuditProperty</Word>
<Word>IsUpdateAuditProperty</Word>
<Word>IsValueGenerated</Word>
<Word>IsPrimaryKeyMember</Word>
<Word>IsForeignKeyMember</Word>
<Word>Count</Word>
<Word>Precision</Word>
<Word>Scale</Word>
<Word>ItemsMin</Word>
<Word>ItemsMax</Word>
<Word>ReferencedItemsMin</Word>
<Word>ReferencedItemsMax</Word>
<Word>DatabaseTypeCode</Word>
<Word>DatabaseTypeName</Word>
<Word>UserName</Word>
<Word>Password</Word>
<Word>InitialValue</Word>
<Word>IsNullable</Word>
<Word>Order</Word>
<Word>CollectionName</Word>
<Word>PropertyReferenceName</Word>
<Word>EntityReferenceName</Word>
<Word>MethodName</Word>
<Word>MethodTypeCode</Word>
<Word>MethodTypeName</Word>
<Word>ParameterName</Word>
<Word>IndexName</Word>
<Word>IsPrimaryKeyIndex</Word>
<Word>IsUniqueIndex</Word>
<Word>RelationshipName</Word>
<Word>SolutionID</Word>
<Word>ProjectID</Word>
<Word>EntityID</Word>
<Word>BaseEntityID</Word>
<Word>FeatureID</Word>
<Word>ReferencedEntityID</Word>
<Word>PropertyID</Word>
<Word>ReferencedPropertyID</Word>
<Word>MethodID</Word>
<Word>ParameterID</Word>
<Word>IndexID</Word>
<Word>RelationshipID</Word>
<Word>StateModelName</Word>
<Word>StateName</Word>
<Word>StateTransitionName</Word>
<Word>WorkflowName</Word>
<Word>StageName</Word>
<Word>StageTransitionName</Word>
<Word>StepName</Word>
<Word>StepTransitionName</Word>
<Word>StateModelID</Word>
<Word>StateID</Word>
<Word>StateTransitionID</Word>
<Word>FromStateID</Word>
<Word>ToStateID</Word>
<Word>WorkflowID</Word>
<Word>StageID</Word>
<Word>StageTransitionID</Word>
<Word>FromStageID</Word>
<Word>ToStageID</Word>
<Word>StepID</Word>
<Word>StepTransitionID</Word>
<Word>FromStepID</Word>
<Word>ToStepID</Word>
<Word>Template</Word>
<Word>Tag</Word>
<Word>Tags</Word>
<Word>TagName</Word>
<Word>ParameterCount</Word>
<Word>PropertyReferenceCount</Word>
<Word>PropertyCount</Word>
<Word>CollectionCount</Word>
<Word>EntityReferenceCount</Word>
<Word>MethodCount</Word>
<Word>EntityCount</Word>
<Word>SqlTableCount</Word>
<Word>IsAuditProperty</Word>
<Word>IsBaseProperty</Word>
<Word>DefaultSourceName</Word>
<Word>OriginalName</Word>
<Word>IsAutoUpdated</Word>
<Word>ProjectReferenceCount</Word>
<Word>ProjectCount</Word>
<Word>SqlDatabaseID</Word>
<Word>SqlTableID</Word>
<Word>SqlColumnID</Word>
<Word>SqlIndexID</Word>
<Word>SqlIndexedColumnID</Word>
<Word>SqlForeignKeyID</Word>
<Word>SqlForeignKeyColumnID</Word>
<Word>SqlPropertyID</Word>
<Word>SqlExtendedPropertyID</Word>
<Word>SqlColumnName</Word>
<Word>DbID</Word>
<Word>DataType</Word>
<Word>MaximumLength</Word>
<Word>NumericPrecision</Word>
<Word>NumericScale</Word>
<Word>Default</Word>
<Word>DefaultSchema</Word>
<Word>IsFullTextIndexed</Word>
<Word>IsForeignKey</Word>
<Word>InPrimaryKey</Word>
<Word>PrimaryKeyColumnCount</Word>
<Word>ForeignKeyColumnCount</Word>
<Word>PrimaryAndForeignKeyColumnCount</Word>
<Word>Nullable</Word>
<Word>Identity</Word>
<Word>IdentitySeed</Word>
<Word>IdentityIncrement</Word>
<Word>Urn</Word>
<Word>State</Word>
<Word>SqlTableName</Word>
<Word>CreateDate</Word>
<Word>DateLastModified</Word>
<Word>SqlDatabaseName</Word>
<Word>Owner</Word>
<Word>PrimaryFilePath</Word>
<Word>DefaultFileGroup</Word>
<Word>DefaultFullTextCatalog</Word>
<Word>Status</Word>
<Word>UserName</Word>
<Word>SqlExtendedPropertyName</Word>
<Word>Value</Word>
<Word>SqlForeignKeyName</Word>
<Word>ReferencedKey</Word>
<Word>ReferencedTable</Word>
<Word>ReferencedTableSchema</Word>
<Word>IsChecked</Word>
<Word>IsSystemNamed</Word>
<Word>SqlForeignKeyColumnName</Word>
<Word>ReferencedColumn</Word>
<Word>SqlIndexName</Word>
<Word>IsClustered</Word>
<Word>IsUnique</Word>
<Word>IsXmlIndex</Word>
<Word>IsFullTextKey</Word>
<Word>FileGroup</Word>
<Word>SqlIndexedColumnName</Word>
<Word>IsIncluded</Word>
<Word>IsComputed</Word>
<Word>Descending</Word>
<Word>SqlPropertyName</Word>
<Word>Type</Word>
<Word>Schema</Word>
<Word>ItemIndex</Word>
<Word>Text</Word>
<Word>Path</Word>
<Word>LibraryDirectory</Word>
<Word>IsRelatedToProperty</Word>
<Word>EntityAndBaseEntities</Word>
<Word>BaseAndEntityEntities</Word>
<Word>PathRelationships</Word>
<Word>ExtendingEntities</Word>
<Word>Record</Word>
<Word>UnderscoreCase</Word>
<Word>CamelCase</Word>
<Word>Find</Word>
<Word>FindAll</Word>
<Word>Substring</Word>
<Word>Replace</Word>
<Word>ToLower</Word>
<Word>ToUpper</Word>
<Word>StartsWith</Word>
<Word>EndsWith</Word>
<Word>IndexOf</Word>
<Word>Contains</Word>
<Word>Length</Word>
<Word>Column</Word>
<Word>Filter</Word>
<Word>FilterProtected</Word>
<Word>FilterIgnored</Word>
<Word>File</Word>
<Word>FileExists</Word>
<Word>Trim</Word>
<Word>TrimStart</Word>
<Word>TrimEnd</Word>
<Word>RegexIsMatch</Word>
<Word>RegexReplace</Word>
<Word>LogValue</Word>
<Word>HasPropertyNamed</Word>
<Word>ItemFile</Word>
<Word>ItemPath</Word>
<Word>.</Word>
<Word>+</Word>
<Word>-</Word>
<Word>*</Word>
<Word>/</Word>
</Keywords>
<Keywords color="Method">
<Word>TAB</Word>
<Word>TABSTRING</Word>
<Word>USEPROTECTEDAREAS</Word>
<Word>PROTECTEDAREASTART</Word>
<Word>PROTECTEDAREAEND</Word>
<Word>USEIGNOREDAREAS</Word>
<Word>IGNOREDAREASTART</Word>
<Word>IGNOREDAREAEND</Word>
<Word>USETABS</Word>
<Word>NOW</Word>
<Word>USER</Word>
</Keywords>
</RuleSet>
</Span>
<Span color="OutputProperty" multiline="true">
<Begin color="Symbol"><%%></Begin>
<End color="Symbol">%%></End>
</Span>
<Span color="Phrase" multiline="true">
<Begin color="Symbol"><%%-</Begin>
<End color="Symbol">%%></End>
</Span>
<Keywords color="Literal">
<Word>true</Word>
<Word>false</Word>
<Word>null</Word>
</Keywords>
<Span color="Literal">
<Begin>"</Begin>
<End>"</End>
<RuleSet>
<!-- nested span for escape sequences -->
<Span begin="\\" end="." />
</RuleSet>
</Span>
<Rule color="Literal">
\b0[xX][0-9a-fA-F]+ # hex number
| \b
( \d+(\.[0-9]+)? #number with optional floating point
| \.[0-9]+ #or just starting with floating point
)
([eE][+-]?[0-9]+)? # optional exponent
</Rule>
</RuleSet>
</Span>
</RuleSet>
</SyntaxDefinition>
|
|
|
|
|
Can you please post a few code snippets?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks Chris,
You can see some Mo+ code snippets at the bottom of this article:
Mo+- An evolution of the template based code generator[^]
If you have access to the earlier version of this article, you will see image versions of the snippets with the correct highlighting colors.
|
|
|
|
|
I updated the following article, which at the bottom shows Mo+ code samples with associated images to show proper highlighting:
Mo+- An evolution of the template based code generator[^]
If you do plan to take action on supporting highlighting for Mo+ and need any more info, let me know. If you don't plan on adding Mo+, I understand. I think the long term solution should be to support custom highlighting, to support new/obscure languages, and for general exceptions. For example, in the article linked above, I'd ideally like to properly highlight the CodeSmith code blocks, which is close to ASP.net, but a little different.
Thanks,
Dave
|
|
|
|
|
There is a "member" which got its account deactivated because of spamming in the Lounge, but said member is still happily spamming away. Others have noticed this before, so my suggestion is if it were possible to sign out an account that gets deactivated. This would force that member to try logging back in, which would be impossible since the account is no longer active, but it would keep them from spamming with an already deactivated account, wouldn't it?
Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
I just had a nightmarish experience while answering questions in Q/A. I had to post a couple of links to MSDN and Wiki, but my links always ended up getting truncated. But it was working fine on the preview option. I had to go for at least 3 revisions for a single link. A bug lurking somewhere?
Or an attempt to curb spam. If this is the case, please keep some whitelists.
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
Carl von Clausewitz
Source
|
|
|
|
|
|
I just posted several links in two separate posts in the Spam and Abuse forum and I am not having this problem.
I am using IE8 on WinXP SP3. Which browser are you using?
Soren
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
|
I did not check the answer you linked to until just now. Are both of you reporting this "truncation behavior" for lmgtfy.com links? Perhaps that is somehow the problem and not really links in general.
[EDIT]
Never mind. I just looked at the links you had posted in the first version of your answer.
[/EDIT]
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
modified 20-Jul-13 1:20am.
|
|
|
|