Project

General

Profile

Actions

Feature #25017

closed

Add '1C: Enterprise'-languages to the code highlighting toolbar button

Added by Сергей Левкин about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid

Description

I would like to be able to have a list of highlighted code markup 1C: Enterprise


Files

redmine.PNG (10.5 KB) redmine.PNG Сергей Левкин, 2017-02-06 14:00
coderay-1.1.0_1c.zip (125 KB) coderay-1.1.0_1c.zip Сергей Левкин, 2017-02-06 14:43
Actions #2

Updated by Mischa The Evil almost 8 years ago

  • Subject changed from I would like to be able to have a list of highlighted code markup 1C: Enterprise to Add '1C: Enterprise'-languages to the code highlighting toolbar button
  • Status changed from New to Closed
  • Resolution set to Invalid

I just came around this issue. AFAICS it is requesting to add additional languages1 (which are not [yet] integrated in CodeRay) to the code highlighting toolbar button.

This should not be implemented in Redmine until support for these is added to the CodeRay library itself.

This leaves the OP with two options:
  1. request the addition of support for these languages in the CodeRay tracker (via an issue or a PR) itself (https://github.com/rubychan/coderay);
  2. patch source:/trunk/public/javascripts/jstoolbar/jstoolbar.js@16664#L378 yourself (add your languages to the codeRayLanguages array and use it according to #14937#note-6).

I'm closing this issue for now.

1 1C:Enterprise language & 1C:Enterprise query language

Actions

Also available in: Atom PDF