Ticket #1770 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

'Case insensitive' option for syntax highlihting

Reported by: sergey-feo Owned by: styx
Priority: trivial Milestone: 4.7.2
Component: mcedit Version: master
Keywords: Cc: zaytsev
Blocked By: Blocking:
Branch state: Votes for changeset: andrew_b styx

Description (last modified by styx) (diff)

Some languages are 'case insensitive' (pascal, cabal, etc.) and we are have problems with their highlighting (style duplication hack or not highlighted code).

Please open attached file in mcedit.

Directives "with" and "use" are highlighted but "WITH" and "USE" are not highlighted.

Attachments

hex_sinus.ads (252 bytes) - added by sergey-feo 15 years ago.

Change History

Changed 15 years ago by sergey-feo

comment:1 Changed 15 years ago by andrew_b

  • Summary changed from Syntax highlighting is register-sensitive for Ada that is not register-sensitive to Syntax highlighting is case sensitive for Ada that is not case sensitive

Syntax highlighting in editor is case sensitive.

comment:2 Changed 15 years ago by styx

  • Owner set to styx
  • Status changed from new to accepted
  • Description modified (diff)
  • Summary changed from Syntax highlighting is case sensitive for Ada that is not case sensitive to 'Case insensitive' option for syntax highlihting

comment:3 Changed 15 years ago by styx

  • Version 4.7.0-pre4 deleted
  • Type changed from defect to enhancement

comment:4 Changed 15 years ago by styx

  • Version set to version not selected

comment:5 Changed 15 years ago by styx

  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.1

comment:6 Changed 15 years ago by styx

branch: 1770_case_insensitive_syntax
changeset: 506a1d9f6114a2544fde1db0a64426396710a230

comment:7 Changed 15 years ago by styx

for testing place 'caseinsensitive' in .syntax file

comment:8 Changed 15 years ago by styx

  • Blocking 2060 added

comment:8 Changed 15 years ago by styx

  • Blocking 2060 removed

also, for testing you can use files from: http://www.midnight-commander.org/ticket/2060

comment:9 Changed 15 years ago by styx

  • Blocking 2060 added

comment:11 Changed 15 years ago by styx

  • Version changed from version not selected to master

comment:12 Changed 15 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:13 Changed 15 years ago by slavazanko

  • Milestone changed from 4.7.1 to 4.7

comment:14 Changed 15 years ago by slavazanko

  • Votes for changeset slavazanko deleted
  • severity changed from on review to on rework

Need to update docs

comment:15 Changed 15 years ago by styx

  • severity changed from on rework to on review

Man has been updated and wiki I'll update after merge.

comment:16 Changed 15 years ago by styx

  • Milestone changed from 4.7 to 4.7.2

comment:17 Changed 15 years ago by andrew_b

  • Votes for changeset set to andrew_b

comment:18 Changed 15 years ago by slavazanko

  • Votes for changeset changed from andrew_b to andrew_b slavazanko

comment:19 Changed 15 years ago by slavazanko

  • severity changed from on review to approved

comment:20 Changed 15 years ago by styx

  • Blocking 2060 removed
  • severity changed from approved to merged

ada95, assembler, dos, pascal, vhdl

comment:21 Changed 15 years ago by styx

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:22 Changed 15 years ago by styx

  • Status changed from testing to closed

comment:23 Changed 15 years ago by angel_il

  • Status changed from closed to reopened
  • Votes for changeset andrew_b slavazanko deleted
  • Resolution fixed deleted
  • severity changed from merged to on rework

comment:24 Changed 15 years ago by angel_il

 tcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -L/usr/lib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. -Wcomment -Wdeclaration-after-statement -Wformat -Wimplicit-function-declaration -Wimplicit-int -Wmissing-braces -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wpointer-sign -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunused-function -Wunused-label -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wwrite-strings -g3 -O -ggdb -g -c syntax.c -o libedit_la-syntax.o
syntax.c:804: ';' expected

now the 'master' is broken...

comment:25 follow-up: ↓ 26 Changed 15 years ago by angel_il

branch: 1770_tcc_build_fix
changeset: 1d70e4fc6ae9f4523fd3f753fdffffb7e9c3b22f

comment:26 in reply to: ↑ 25 Changed 15 years ago by andrew_b

  • Votes for changeset set to andrew_b
  • Type changed from enhancement to defect

Replying to angel_il:

branch: 1770_tcc_build_fix
changeset: 1d70e4fc6ae9f4523fd3f753fdffffb7e9c3b22f

Patch is OK.

comment:27 Changed 15 years ago by styx

  • Votes for changeset changed from andrew_b to andrew_b styx

I must admit this is just a TCC bug(;

comment:28 Changed 15 years ago by angel_il

  • Status changed from reopened to closed
  • Resolution set to fixed
  • severity changed from on rework to merged

comment:29 Changed 15 years ago by zaytsev

Hmmm... are we implying that the compiler supports C99?

comment:30 Changed 15 years ago by zaytsev

  • Cc zaytsev added
Note: See TracTickets for help on using tickets.