Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
These 'raise' messages do not look nice
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
laztoapk 0.9.0.43 is avai...
by
jmpessoa
[
Today
at 10:49:12 pm]
Validating user input
by
dukester
[
Today
at 10:43:46 pm]
about sqldb postgresql LO...
by
Red_prig
[
Today
at 09:00:58 pm]
increment filename if exi...
by
Josh
[
Today
at 08:34:47 pm]
Dark mode class...
by
Espectr0
[
Today
at 07:57:10 pm]
install problem in Pas2J...
by
arirod
[
Today
at 07:29:33 pm]
Command line compilation ...
by
marcov
[
Today
at 06:21:54 pm]
LAMW - "This app has a bu...
by
Agmcz
[
Today
at 06:15:40 pm]
Build lazarus and fpc in ...
by
MarkMLl
[
Today
at 04:32:59 pm]
weird sqlite error "datab...
by
Zvoni
[
Today
at 04:24:33 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: These 'raise' messages do not look nice (Read 933 times)
AlexTP
Hero Member
Posts: 1761
These 'raise' messages do not look nice
«
on:
January 23, 2022, 08:12:37 pm »
lcl/include/treeview.inc
Code: Pascal
[Select]
[+]
[-]
TreeNodeError
(
'TTreeNodes.GetSelections Index '
+
IntToStr
(
AIndex
)
+
' out of bounds (Count='
+
IntToStr
(
FSelection
.
Count
)
+
')'
)
;
TreeNodeError
(
'TTreeNodes.GetNodeFromIndex Index '
+
IntToStr
(
Index
)
+
' out of bounds (Count='
+
IntToStr
(
FCount
)
+
')'
)
;
TreeViewError
(
'TTreeStrings.Add: Invalid level, Level='
+
IntToStr
(
Level
)
+
' OldLevel='
+
IntToStr
(
OldLevel
)
)
;
TreeViewError
(
'TTreeStrings.Add: Invalid level, Node=nil I='
+
IntToStr
(
I
)
+
' Level='
+
IntToStr
(
Level
)
)
;
else
TreeViewError
(
'TTreeStrings.LoadTreeFromStream: Level='
+
IntToStr
(
ALevel
)
+
' CuurStr="'
+
CurrStr
+
'"'
)
;
I suggest to use Format() here.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Bart
Hero Member
Posts: 4689
Re: These 'raise' messages do not look nice
«
Reply #1 on:
January 23, 2022, 09:14:58 pm »
Can you open a bugreport and add a patch?
It also strikes me that the messages are hardcoded (so not translatable).
Bart
Logged
AlexTP
Hero Member
Posts: 1761
Re: These 'raise' messages do not look nice
«
Reply #2 on:
January 23, 2022, 09:29:45 pm »
Created the
bug report
.
[Edited to add bug link.]
«
Last Edit: January 24, 2022, 12:18:49 am by trev
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
These 'raise' messages do not look nice
TinyPortal
© 2005-2018