Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SynWrite add-on: Find ID
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Плагины Total Commander printer-friendly view
View previous topic :: View next topic  
Author Message
RamSoft



Joined: 04 Aug 2010
Posts: 65
Location: Москва

Post (Separately) Posted: Fri Jun 01, 2012 14:43    Post subject: Reply with quote

Alextp wrote:
потестю. Еще бывает определение в {$I f.inc} без путя, {$I path\file.inc} (путь может быть относит-м)

Добавлю в todo..
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Fri Jun 01, 2012 15:17    Post subject: Reply with quote

репорты (баги) в Личке.

Добавлено спустя 36 минут:

когда передаешь неменяемые string- аргументы, лучше объявлять их как
(const S: string)
а не
(S: string)
во 2 сл. в стеке создается вся строка.
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
RamSoft



Joined: 04 Aug 2010
Posts: 65
Location: Москва

Post (Separately) Posted: Fri Jun 01, 2012 16:35    Post subject: Reply with quote

Alextp wrote:
когда передаешь неменяемые string- аргументы, лучше объявлять их как
(const S: string)
а не
(S: string)
во 2 сл. в стеке создается вся строка.

Alextp, Учёл... Это всё вредная привычка. Embarassed
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Wed Jun 06, 2012 14:02    Post subject: Reply with quote

uvviewsoft.com/bb/ID.RAR
нет работы с type
--"-- const
--"-- argument

Добавлено спустя 1 час 23 минуты:

тесты с type\const - внутри id.rar

Добавлено спустя 14 минут:

Для external tools хорошо иметь такой вывод FindID:
Code:

ID found: "c:\path......." NLine:NCol


(в одну строку, имя файла в кавычках обяз.)
такое тоже могу распарсить
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
RamSoft



Joined: 04 Aug 2010
Posts: 65
Location: Москва

Post (Separately) Posted: Thu Jun 07, 2012 15:27    Post subject: Reply with quote

Alextp, Определись плиз в каком виде ты хочешь получать резалт...
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Thu Jun 07, 2012 15:29    Post subject: Reply with quote

пока лучше в одну строку(как написал выше), не INI
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
RamSoft



Joined: 04 Aug 2010
Posts: 65
Location: Москва

Post (Separately) Posted: Fri Jun 08, 2012 10:08    Post subject: Reply with quote

Вот парсинг твоей строки:
Code:
^...........(.{1,})[\W][\W]([0-9]{1,})[\W]([0-9]{1,})*

Лажово, но всё же...

http://рамсофт.рф/downloads/FindID.zip
http://рамсофт.рф/downloads/src_FindID.zip
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Fri Jun 08, 2012 12:53    Post subject: Reply with quote

тест прошел. Поищу еще баги
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Mon Jun 11, 2012 14:24    Post subject: Reply with quote

Сделать в SW подсветку ID с нажатым Ctl не получится- мне надо парсить текст (вдруг там строка). а вызов в ПКМ меню можно.
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Mon Jun 11, 2012 18:13    Post subject: Reply with quote

SW Beta. FindID п-т в ПКМ меню
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
RamSoft



Joined: 04 Aug 2010
Posts: 65
Location: Москва

Post (Separately) Posted: Mon Jun 11, 2012 20:38    Post subject: Reply with quote

Alextp, А через зажатый Ctrl никак? Sad
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Mon Jun 11, 2012 20:53    Post subject: Reply with quote

пока так можно. А с Ctl- еще подсвечивать ID нажимаемый? или просто вызывать?
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
RamSoft



Joined: 04 Aug 2010
Posts: 65
Location: Москва

Post (Separately) Posted: Mon Jun 11, 2012 22:29    Post subject: Reply with quote

Alextp, Как в D7, зажал Ctrl, навёл курсор, подсветилось слово, сделал клик - отработала функция поиска ID.
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Mon Jun 11, 2012 22:49    Post subject: Reply with quote

подсветить проблематично. хотя можно но возиться с стилями неохота пока. А просто вызвать при нажатом Ктрл проще
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Thu Jun 28, 2012 01:14    Post subject: Reply with quote

Хотелось бы поправления
-ненахождение имен из самого низа Д7 SysUtils.pas
-ненахождение кое-чего из архива id.rar: см. батник:
www.uvviewsoft.com/bb/FindID/
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Плагины Total Commander All times are GMT + 4 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group