Oberon Community Platform Forum
December 16, 2019, 03:35:45 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Oberon Community Platform Forum
>
Development
>
Merge Requests
>
Syntax Highlighter
Pages: [
1
]
« previous
next »
Print
Author
Topic: Syntax Highlighter (Read 3849 times)
sage
Full Member
Posts: 170
Syntax Highlighter
«
on:
June 23, 2010, 06:49:49 PM »
It makes sense to set the
defaultstyle
parameter value of all highlighters to "Normal"
Quote
<Highlighter name="Oberon" defaultstyle="
Normal
">
<Highlighter name="XML"
defaultstyle="Normal"
>
...
because when increasing
fontsize
in styles the result looks weird
syntax.png
(9.6 KB, 468x485 - viewed 678 times.)
«
Last Edit: June 23, 2010, 06:57:47 PM by sage
»
Logged
staubesv
Administrator
Sr. Member
Posts: 387
Re: Syntax Highlighter
«
Reply #1 on:
June 23, 2010, 10:14:38 PM »
Yes, it does.
But it also means that the formatting of the original text is completely ignored. Then again, the best syntax highlighting results are achieved by doing so.
Originally I thought it would be nice to be able to mix up manual with automatic highlighting - but storing just some "magic" parts of the text formatting was simply too confusing.
-> At the end of the day the syntax highlighting doesn't make much sense on formatted text. That's why I started to store source code in ASCII respectively UTF-8 instead of the Oberon file format. This also eases interoperation with the none-Oberon world.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> OCP
-----------------------------
Development
-----------------------------
=> General
=> Oberon & Active Oberon
=> AOS
=> WinAOS
=> UnixAOS
=> ETH Oberon
=> ETH Zonnon
=> Merge Requests
=> Bug Report
-----------------------------
Projects
-----------------------------
=> ObeDAV
=> Matrix
-----------------------------
Support
-----------------------------
=> Installation
Loading...