Jump to content
Korean Random
StranikS_Scan

XCPad - Мультифайловый текстовый редактор для XVM / PTC / PMOD / JSON / XML / INI конфигов (Версия: 1.2.0, Дата: 19.11.2023)

Пользуетесь ли вы XCPad  

352 members have voted

You do not have permission to vote in this poll, or see the poll results. Please sign in or register to vote in this poll.

Recommended Posts

 

 

А, не сразу понял. Не хватает размера Canvas.   P.S. Надо переходить на новую версию Delphi.

 

Делфи не причем. Ограничение заложено в ГУИ винды ))) Если почекать виндовское сообщение WM_MOUSEWHEEL то можно узнать что параметр отвечающий за смещение zDelta ограничен 32767 ))))

Share this post


Link to post

Short link
Share on other sites

 

 

У меня Win7, XE7. Прикладываю скриншот и программу:

 

Не то ты делаешь.

 

Возьми сделай вот это

1. Добавь глобальную. переменную в модуль формы B: TButton;

2. Положи TScrollBox на форму, включи вертикальную прокрутку

3. Положи кнопку на форму

3. В эвенте клика кнопки пропиши

 

B:=TButton.Create(Application);

B.Parent:=ScrollBox1;

B.Top:=50000;

Form1.Caption:=IntToStr(B.Top);

Share this post


Link to post

Short link
Share on other sites

в FireMonkey

это что за убогая кнопка?

Там есть стилизация под Windows?

Edited by ShadowHunterRUS

Share this post


Link to post

Short link
Share on other sites

 

 

Там есть стилизация под Windows?

 

Вангую там есть глюки и баги под виндовс :heh:  


К слову сказать, по поводу задачки с 32767 в XCPad - ни чего не нашел чтобы обойти проблему, поэтому пришлось сесть на выходных и обкодить это место защитными костылями.

Share this post


Link to post

Short link
Share on other sites

Вангую там есть глюки и баги под виндовс

 

 

Скорее всего есть.

 

это что за убогая кнопка? Там есть стилизация под Windows?

 

Да вроде стандартная

post-17624-0-02351500-1456344388_thumb.jpg

Share this post


Link to post

Short link
Share on other sites

Да вроде стандартная

Вот что Windows 10 с людьми делает.

Я уже начал забывать, как кнопки на семёрке выглядят)

Стандартная всё-таки отличается от FMX'овой.

Edited by ShadowHunterRUS

Share this post


Link to post

Short link
Share on other sites

Попробовал сделать костыль, вот что получилось:

Project1.rar

Исходники.rar

Правда каждый из RichEdit не может быть больше ~32767.

P.S. Хотя и для этого можно сделать костыль.

Edited by ktulho

Share this post


Link to post

Short link
Share on other sites

@StranikS_Scan, столкнулся со следующей неприятностью:

если в однофайловом конфиге в экстра-полях "ушей" прописать ссылку на файл с форматами, то этот файл не загружается в XCPad - редактор его "не видит"... 

однофайловость условная, файлы texts, colors и ***Templates.xc (форматы для ушей, маркеров и миникарты) отдельно.

В многофайловом конфиге с дефолтной структурой, при одинаковом коде ссылок, этот файл форматов прекрасно загружается со всеми остальными

в обоих вариантах конфиг работает...

'используемый код'

    "short": {                          // Режим ушей "short"
      "enabled": true,
      "width": 20,
      "removeSquadIcon": false,
      "vehicleLevelAlpha": 100,
      "fragsFormatLeft": "{{frags}}",
      "fragsFormatRight": "{{frags}}",
      "extraFieldsLeft": [
        ${ "playersPanelTemplates.xc":"def.readyIcon" }, 
        ${ "playersPanelTemplates.xc":"def.warrior" }, 
        ${ "playersPanelTemplates.xc":"def.ranks" } 
      ],
      "extraFieldsRight": [
        ${ "playersPanelTemplates.xc":"def.enPosition" },
        ${ "playersPanelTemplates.xc":"def.readyIcon" },
        ${ "playersPanelTemplates.xc":"def.warrior" }, 
        ${ "playersPanelTemplates.xc":"def.ranks" }, 
        // enemy spotted status marker (see above).
        // маркер статуса засвета (см. выше).
        ${ "enemySpottedMarker" }
      ]
    },

зы. если в однофайловом прописать "в корне" ссылку на маркер статуса засвета по типу

  // Подстановка маркера статуса засвета
  "enemySpottedMarker": ${ "playersPanelTemplates.xc":"enemySpottedMarker" },

то редактор начинает "замечать" этот файл форматов и грузить наравне с остальными

Edited by Kapany3uk

Share this post


Link to post

Short link
Share on other sites

Hello,

 

I have a problem using XC pad to edit my xvm config files. Every time I want to edit the markers & minimap config files
I need to open them separately because when I open all my files at once via @xvm.xc, XC pad doesn't show those when I click on them.
They are collapsed and when I try to expand the editors it doesn't help. However I can see ALL the files in the tree to the left.
I know I didn't have this problem in the past. But ever since there has been a few more config files of the minimap and markers
this problem occurs. I'll try to show some pictures below explaining my problem.

 

Windows version: Windows 10 Home 64bit
XVM version: 6.2.2.1
XC pad version: 1.0.2.442

 

6hhINBe.png

 

LuQ3Lay.png

 

Does somebody have the same problem as me or can anyone help me please?

Share this post


Link to post

Short link
Share on other sites

Hello,

 

I have a problem using XC pad to edit my xvm config files. Every time I want to edit the markers & minimap config files

I need to open them separately because when I open all my files at once via @xvm.xc, XC pad doesn't show those when I click on them.

They are collapsed and when I try to expand the editors it doesn't help. However I can see ALL the files in the tree to the left.

I know I didn't have this problem in the past. But ever since there has been a few more config files of the minimap and markers

this problem occurs. I'll try to show some pictures below explaining my problem.

 

Windows version: Windows 10 Home 64bit

XVM version: 6.2.2.1

XC pad version: 1.0.2.442

 

Does somebody have the same problem as me or can anyone help me please?

i have this problem too. this is BUG and it will be fixed.

log5602 said he reopen config thrue "file->open" and it work for him, but not for me :(

 

 

sorry for bad english :)

Share this post


Link to post

Short link
Share on other sites

i have this problem too. this is BUG and it will be fixed.

log5602 said he reopen config thrue "file->open" and it work for him, but not for me :(

 

 

sorry for bad english :)

Ok, but I have this problem for over a year now, so when is it going to be fixed?

Share this post


Link to post

Short link
Share on other sites

author said there is some tehnical problems, and he cannot beat them for now

 

I have worked hard to eliminate the problem, but did not have time to make the release. Wait for the release.

  • Upvote 1
  • Downvote 1

Share this post


Link to post

Short link
Share on other sites

I have worked hard to eliminate the problem, but did not have time to make the release. Wait for the release.

Thank you mate, I appreciate this!

Share this post


Link to post

Short link
Share on other sites

Is there available somewhere User Defined Language (UDL export) for Notepad++? I would like to have highlighting for XVM there, just like it is in XCPAD.

 

Anyone can help?

Share this post


Link to post

Short link
Share on other sites

Is there available somewhere User Defined Language (UDL export) for Notepad++? I would like to have highlighting for XVM there, just like it is in XCPAD.

 

Anyone can help?

long time posted here

 

 

 

Эта подсветка сохраняет привычную для XCPad цветовую гамму для файлов типа .json .ptc из игровых модов

The lighting retains the usual XCPad color palette for a file type .json .ptc of game mods (yandex.translate) Edited by Kapany3uk
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...