找回密码
 点一下
查看: 3342|回复: 11

[]jass 高亮有问题

  [复制链接]
发表于 2007-2-9 00:51:10 | 显示全部楼层 |阅读模式
拷贝代码无法正常使用
发表于 2007-2-9 01:18:42 | 显示全部楼层
其实只素缺少换行符呢...
回复

使用道具 举报

 楼主| 发表于 2007-2-9 01:34:47 | 显示全部楼层
使用不方便 难道不能提意见吗
回复

使用道具 举报

发表于 2007-2-9 09:41:37 | 显示全部楼层
砍死~
回复

使用道具 举报

发表于 2007-2-14 04:34:29 | 显示全部楼层
最好修正一下吧,我们还过得去
小鸟们就要眼晕了
回复

使用道具 举报

发表于 2007-2-14 10:47:10 | 显示全部楼层
测试。
[codes=jass]function a takes nothing returns nothing
//test
endfuntion[/codes]

[jass]function a takes nothing returns nothing
//test
endfuntion[/jass]
回复

使用道具 举报

发表于 2007-2-14 10:47:25 | 显示全部楼层
codes方式无问题。jass方式乱掉
回复

使用道具 举报

发表于 2007-2-17 17:48:14 | 显示全部楼层
function a takes nothing returns nothing//testendfuntion
还没修正啊
回复

使用道具 举报

发表于 2007-2-18 13:06:34 | 显示全部楼层
function a takes nothing returns nothing
//test
endfuntion

所以没事就不要用jass标签,改用codes
回复

使用道具 举报

 楼主| 发表于 2007-2-23 09:41:31 | 显示全部楼层
希望codes标签方式产生的文本的字体设置为等宽字体。代码这些东西需要对齐才好看嘛。
回复

使用道具 举报

发表于 2007-2-23 13:32:34 | 显示全部楼层
引用第9楼hackwaly2007-02-23 09:41发表的:
希望codes标签方式产生的文本的字体设置为等宽字体。代码这些东西需要对齐才好看嘛。
当时为了让用户自己设置字体,所以特意没有为codes固定字体。

如果你要用等宽字体,在codes标签外面用font标签定义一下就行。
回复

使用道具 举报

 楼主| 发表于 2007-2-23 14:58:26 | 显示全部楼层
这下漂亮多了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-5-5 01:02 , Processed in 0.099283 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表