DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: cdk19821
今日帖子: 35
在线用户: 17
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/19 18:20:30
标题:
一个IDE背景颜色的怪现象 浏览:910
加入我的收藏
楼主: 如果变量用中文命名,双击这个变量的时候按道理背景颜色应该统一,但是左边浅色的超出了,右边两个字变成了深色,怎么解决呢.
此帖子包含附件:
JPEG 图像
大小:3,494B
----------------------------------------------
-
作者:
男 sail2000 (小帆工作室) ★☆☆☆☆ -
盒子活跃会员
2023/8/19 20:04:11
1楼: 这么喜欢标新立异?
----------------------------------------------
delphi 是兴趣,和工作无关,即使它倒闭。又不靠它 delphi 吃饭,怕甚?
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/19 20:26:17
2楼: @sail2000 我英文不太好 变量太多用中文能一眼看出什么意思 以前vs里这样xi惯了
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/8/19 21:23:35
3楼: maybe using create your unit-files as NON-ANSI ?  

UTF8 / UNICODE ... ?
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/19 21:32:53
4楼: @emailx45 是指这里吗?改成ANSI还是没用,好像是把右边两个字当成了marked block
此帖子包含附件:
JPEG 图像
大小:14.3K
----------------------------------------------
-
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/19 21:55:21
5楼: 估计是这里 但是背景色的左边又超出了一部分不知道为什么
此帖子包含附件:
JPEG 图像
大小:76.9K
----------------------------------------------
-
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/20 2:52:52
6楼: 如果变量以字母开头命名就没问题,比如var i模型:integer
说明没有把汉字命名的变量当做变量处理,有办法吗?
----------------------------------------------
-
作者:
男 cnpack (CnPack) ★☆☆☆☆ -
普通会员
2023/8/20 7:12:08
7楼: 目测是Delphi自身的编辑器在处理这种汉字开头的标识符时有Bug,只能等EMB来修。
----------------------------------------------
欢迎使用CnPack IDE Wizards
http://www.cnpack.org/
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/20 15:48:01
8楼: @ cnpack 好的 谢谢 将就用吧
----------------------------------------------
-
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2023/8/20 18:15:07
9楼: 想要写程序,还是尽量把英文搞好。连变量名这种都不愿意读英文,那你上网查资料怎么办?

如果实在不想花功夫搞英文,建议转行。
----------------------------------------------
-
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/20 20:02:32
10楼: @pcplayer 惭愧 我是业余爱好而已 变量少还行多了很痛苦 英语只过了个4级 有的意思还真不好翻译 翻译出来也是一长串还真不如汉字方便一眼看出意思不容易搞混 以前用.net没这个bug 只能说您的英语真棒
----------------------------------------------
-
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2023/8/20 20:06:21
11楼: 我的英语不行,以前也是看着英语就头大,读 Delphi 的英文帮助都不愿意读。

后来,买了一大堆 Delphi 的书后发现,中文书写得读不懂,读英文的 Delphi 的书,即便每个单词都要查字典,但是读了能读懂。

然后硬着头皮读点和 Delphi 有关的英文资料后,发现读英文也没那么难了。
----------------------------------------------
-
作者:
男 mp654kk (mp654kk) ▲△△△△ -
普通会员
2023/8/20 20:10:22
12楼: @pcplayer 厉害 我只能尽量把这个xi惯改过来 用拼音缩写吧 只是没那么浅显易懂了
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/8/21 1:29:05
13楼: I, like PcPlayer, am also not fluent in English, however, due to the alphabet equal (+/-) to Portuguese, it is easier to read and understand many words. 
 The Chinese language, for me, is very difficult because I don't know how to read the texts. 
 But anyway, when something has a lot of need for us, then we can make a greater effort to adapt.  I think that, in a globalized world, we need a general-purpose language, and, for specific scenarios, we can use other usage methodologies. 

 But in fact, there is no need to translate the internal coding part of a software, that is, the commands.  After all, the commands will be translated into bits, which know nothing about the language of human beings.  

Just out of curiosity: I once saw a version of "Clippet 5" (a programming language from the "DOS" era) with commands in Brazilian Portuguese, but I can say that it wasn't stimulating at all, quite the contrary, it was very strange to code, even though n9 mru natural language

我和PcPlayer一样,英语也不太流利,但是,由于字母表与葡萄牙语相同(+/-),所以更容易阅读和理解很多单词。 中文对我来说非常困难,因为我不知道如何阅读文本。 但无论如何,当某件事对我们有很大的需要时,我们就可以付出更大的努力来适应。 我认为,在全球化的世界里,我们需要一种通用的语言,并且针对特定的场景,我们可以使用其他的使用方法。 但实际上,软件的内部编码部分,即命令,是不需要翻译的。 毕竟,命令将被翻译成比特,而比特对人类的语言一无所知。 只是出于好奇:我曾经看到过一个带有巴西葡萄牙语命令的“Clippet 5”(“DOS”时代的编程语言)版本,但我可以说它一点也不刺激,恰恰相反,它代码很奇怪,尽管 n9 mru 自然语言
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2023/8/21 11:22:22
14楼: There many Chinese know Portuguese in Macao.
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/8/22 1:30:45
15楼: yes "portugueses" (Portugual) or "brazilians" (Brasil) are in all around the world  >:)))

now in Brasil, exists many "chineses" peoples, mainly in "São Paulo" city
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行93.75毫秒 RSS