• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pascal syntax highlighting in XCode - some problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pascal syntax highlighting in XCode - some problems


  • Subject: Re: Pascal syntax highlighting in XCode - some problems
  • From: Jeremy Pereira <email@hidden>
  • Date: Mon, 13 Jul 2009 13:31:18 +0100


On 13 Jul 2009, at 12:10, Alexander Bokovikov wrote:

Hi, All,

Does XCode support syntax highlighting for Pascal language? I can't find where to adjust such things, as programming language reserved words, in XCode. The most annoying thing is that XCode doesn't recognize the double-slash (//) comments for Pascal units. It works pretty correctly with .h or .m modules, but not for .pas.

Technically, it is working pretty correctly for Pascal too. The double slash to end of line comment is an objective Pascal extension that just happens to be supported by Gnu Pascal. It's not part of the Pascal standard.


Therefore many Pascal units look very ugly in the XCode editor, if single apostrophes or quotes are met within commented lines. Such comments, as "// Don't remove this", lead to completely unreadable unit (all in red) until the next single apostrophe.

Is there any solution for this?

Use proper comments in your code? :-)

Sorry, that's not really helpful. I guess you could raise a feature request/bug report with Apple to get them to support C++ style comments in Pascal.


Thank you. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Pascal syntax highlighting in XCode - some problems (From: "Alexander Bokovikov" <email@hidden>)

  • Prev by Date: Pascal syntax highlighting in XCode - some problems
  • Next by Date: Re: Pascal syntax highlighting in XCode - some problems
  • Previous by thread: Pascal syntax highlighting in XCode - some problems
  • Next by thread: Re: Pascal syntax highlighting in XCode - some problems
  • Index(es):
    • Date
    • Thread