SA-MP Forums Archive
How to use pawn studio/Notepad++ to find a bracket? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: How to use pawn studio/Notepad++ to find a bracket? (/showthread.php?tid=199164)



How to use pawn studio/Notepad++ to find a Missing bracket? - The_Gangstas - 14.12.2010

How To Find A Missing Bracket With pawn studio or notepad++? ****** said to use notepad but i can't figure it out,.


Re: How to use pawn studio/Notepad++ to find a bracket? - WillyP - 14.12.2010

ctrl+h

{?


Re: How to use pawn studio/Notepad++ to find a bracket? - The_Gangstas - 14.12.2010

thats to replace?


Re: How to use pawn studio/Notepad++ to find a bracket? - WillyP - 14.12.2010

ctrl+f then..

I use ctrl+h, but keep the replacement box blank.


Re: How to use pawn studio/Notepad++ to find a bracket? - The_Gangstas - 14.12.2010

i mean, find a missing bracket sorry.i'll edit my post


Re: How to use pawn studio/Notepad++ to find a bracket? - WillyP - 14.12.2010

Quote:
Originally Posted by The_Gangstas
Посмотреть сообщение
i mean, find a missing bracket sorry.i'll edit my post
Where the errors occur.. Look at the callback before all of the errors. Then count the opening brackets, and make sure the closing brackets have the same amount.


Re: How to use pawn studio/Notepad++ to find a bracket? - The_Gangstas - 14.12.2010

im sure there is a faster way.. i have 31k lines to look through then..


Re: How to use pawn studio/Notepad++ to find a bracket? - XePloiT - 14.12.2010

when you click next to the bracket it show you where is the start and where is the end...


Re: How to use pawn studio/Notepad++ to find a bracket? - WillyP - 14.12.2010

Quote:
Originally Posted by The_Gangstas
Посмотреть сообщение
im sure there is a faster way.. i have 31k lines to look through then..
Use normal PAWN compiler?

EDIT:

So you got errors ALL THE WAY through the code? Trolol


Re: How to use pawn studio/Notepad++ to find a bracket? - mamorunl - 14.12.2010

Quote:
Originally Posted by XePloiT
Посмотреть сообщение
when you click next to the bracket it show you where is the start and where is the end...
The_Gangstas here is your answer. It lights up RED and if it doesn't have a corresponding bracket, it doesnt light up. Also, indent your code to see the errors.

Also: NP++ has a line for every bracket, it goes through to the closing bracket. You can check that too.