create: Checkpoint 2026-11-25 03:01:54 UTC [8c4daebcdf]
MemRelay-Operation: checkpoint-save:uiframe-title-star-20261125 MemRelay-Resource: c9cb7a53-53b0-4442-8960-bef1f4421f22
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: Checkpoint 2026-11-25 03:01:54 UTC [8c4daebcdf]
|
||||||
|
type: checkpoint
|
||||||
|
permalink: main/projects/0017cd22-9dea-4f87-9595-fc050356ff3c/checkpoint-2026-11-25-03-01-54-utc-8c4daebcdf
|
||||||
|
stable_id: c9cb7a53-53b0-4442-8960-bef1f4421f22
|
||||||
|
scope: project
|
||||||
|
memory_type: checkpoint
|
||||||
|
project_id: 0017cd22-9dea-4f87-9595-fc050356ff3c
|
||||||
|
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||||
|
status: active
|
||||||
|
revision: 1
|
||||||
|
request_id: uiframe-title-star-20261125
|
||||||
|
created_at: '2026-11-25T03:01:54.322034+00:00'
|
||||||
|
updated_at: '2026-11-25T03:01:54.322034+00:00'
|
||||||
|
tags:
|
||||||
|
- fluid-plus
|
||||||
|
- title
|
||||||
|
- modflag
|
||||||
|
---
|
||||||
|
|
||||||
|
保存后标题仍有 *:原来星号同时表示两件事。文件名后的 * 是 .fl 未保存,扩展名后的 * 是生成代码过期。Project::save 调 set_modflag(0, 1),只清掉前一个并强制留下后一个,所以保存成功后标题仍是 demo.fl .cxx*。
|
||||||
|
|
||||||
|
修改:fluid-plus/Project.cxx 的标题只在 modflag 为真时加 *。代码过期改显示 ui_text("code not written"),中文包译为“代码未生成”。换语言时 apply_language 用 set_modflag(-1) 刷新标题,不改已保存状态。
|
||||||
|
|
||||||
|
保存后标题应为“demo.fl .cxx 代码未生成”,没有 *。改过再保存前是“demo.fl* .cxx 代码未生成”。生成代码后“代码未生成”消失。
|
||||||
|
|
||||||
|
验证:Release fluid-plus 编译链接成功。打开 demo.fl 后窗口标题实际是“demo.fl .cxx 代码未生成”,没有星号。没有再改一个控件然后按 Ctrl+S,用户要自己测这一段。未提交。要重新打开 build\\bin\\Release\\fluid-plus.exe。
|
||||||
Reference in New Issue
Block a user